XCOM equivalent for Connect:Direct feature "RUNTASK"
search cancel

XCOM equivalent for Connect:Direct feature "RUNTASK"

book

Article ID: 229957

calendar_today

Updated On:

Products

XCOM Data Transport - z/OS XCOM Data Transport

Issue/Introduction

Have many production Connect:Direct jobs that send files from VSE to MVS, and then kick off a step on MVS that sends that file off to an FTP server to be forwarded outside the company. These jobs use a Connect:Direct feature called "RUNTASK".  Does XCOM for z/OS have a similar capability?

Environment

  • XCOM™ Data Transport® for z/OS
  • CA XCOM Data Transport for z/VSE
  • IBM® Sterling Connect:Direct

Resolution

  1. XCOM has user exits and "User Exit 1" (EXIT01) enables the execution of a user routine after completion of the transfer. 
    That should equate to the Connect:Direct feature RUNTASK that sends the transferred file to the FTP server.
    More details here:
    User Exits
    User Exit 1
    Administering Config Member Parameters EXIT01
    Per above, when EXIT01 is enabled, for a locally initiated transfer it is only invoked when using TYPE=SCHEDULE and is not invoked when using XCOMJOB TYPE=EXECUTE.
    For a remotely locally initiated transfer, it is always invoked when enabled.
  2. XCOM for both z/OS and VSE support 4 types of transfers, SEND FILE, RECEIVE FILE, SEND REPORT, and SEND JOB e.g. XCOM™ Data Transport® for z/OS 12.0 > Overview > Types of Transfers
    The SEND JOB may be a good fit for what is required here, as it does not require any custom coding in assembler.
    For a SEND JOB, the input is a file that contains JCL (or a SCRIPT in the case of a distributed platform) to be executed on the remote partner. In other words, you can submit a job to be executed on the remote partner.
    The following is a sample of the SYSIN01 parameters which can be used to accomplish this submission:
//SYSIN01  DD *                              
IPNAME=tcp/ip.name.or.address       <= remote partner system
IPPORT=9999                        <= remote partner listener port
TYPE=SEND                                  
FILETYPE=JOB                                
LFILE=xxxxxxx.JCL.CNTL(IDCREPRO)    <= JCL to be submitted and executed
/*  

Additional Information

See the CA XCOM Data Transport for z/VSE documentation located under the Techdocs "Legacy Bookshelves and PDFs"