https://pastein.ru/t/aO

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


%irm_sc_init();

/*Step 2  Create the top-level job flow – create job flow definition */
%irm_sc_build_jobflow(
          i_jf_name      =my_hello_world_sub_and_flow,
          o_jf_ref_name  =example_jf_ref );

/*Step 3  Create the subflow named sentence_subflow */
%irm_sc_build_jobflow(
          i_jf_name      =sentence_subflow,
          o_jf_ref_name  =example_subflow_ref );

/*Step 4  Add the subflow to the top-level job flow */
%irm_sc_add_subflow(
          i_jf_ref       =&example_jf_ref,
          i_sub_jf_ref   =&example_subflow_ref );

/*Step 5  Add tasks (my_hello, my_world) to the subflow */
%my_hello(
          i_jf_ref       =&example_subflow_ref,
          i_task_name    =my_hello,
          t_in_words     =mydata.mywords.sas7bdat,
          t_out_greeting =example.hello.sas7bdat );

%my_world(
          i_jf_ref       =&example_subflow_ref,
          i_task_name    =my_world );

/*Step 6  Add task (my_sentence) to the top-level job flow */
%my_sentence(
          i_jf_ref       =&example_jf_ref,
          i_task_name    =my_sentence );

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

/*Step 8  Execute job flow instance in IRM Server */
%irm_sc_execute_jobflow(
          i_jf_ref       =&example_jf_ref );