https://pastein.ru/t/oO

  скопируйте уникальную ссылку для отправки


%irm_sc_init();

/*Step 2  Create a job flow - Name the jobflow definition */
%irm_sc_build_jobflow(
          i_jf_name      =jobflow_partition_class_2,
          o_jf_ref_name  =example_jf_ref);

 %node_m11_generate_cashflows(
  i_jf_ref       =&example_jf_ref,
  i_task_name    =generate_cashflows
  
  );
  
  %irm_sc_add_partition_byn_task(
                i_jf_ref              =&example_jf_ref,
                i_task_name           =partitioning,
                 i_card_tb_byn           =param.max.sas7bdat,
                i_part_ds_byn         =out_lib.cashflows.sas7bdat,
                i_out_part_tb_byn     =out_lib.p_cashflows.sas7bdat);
 

/*Step 3  Add Tasks from fa.sasdemo PFA */
%node_m11_discount_cashflows(
          i_jf_ref       =&example_jf_ref,
          i_task_name    =Discount_cashflows,
          t_in=out_lib.p_cashflows.sas7bdat,
          t_out=out_lib.p_npv.sas7bdat);

%node_m11_classification_amount(
i_jf_ref       =&example_jf_ref,
i_task_name    =Class_based_amount,
t_in=out_lib.p_npv.sas7bdat,
          t_out=out_lib.p_npv_class.sas7bdat
);

%irm_sc_add_recombine_byn_task(
               i_jf_ref               =&example_jf_ref,
               i_task_name            =Recombine,
               i_rec_tb_in_byn        =out_lib.p_npv_class.sas7bdat,
               i_rec_out_tb_byn       =OUT_LIB.NPV_class.sas7bdat);

/*Step 4  Save this job flow definition to IRM Server */
%irm_sc_save_jobflow(
          i_jf_ref       =&example_jf_ref);

/*Step 5  Execute job flow instance in IRM Server */
/*%irm_sc_execute_jobflow(
          i_jf_ref       =&example_jf_ref);
*/
/*Step 6  Show RESULTS library and link to Job Flow Diagram in IRM Server*/
/*%irm_sc_show_jobflow_results(
          i_jf_ref       =&example_jf_ref);*/