Want to copy multiple CA7 DOC05s from mainframe to Unix



Unicenter CA-7 Job Management: CA's workload automation tool for managing, visualizing, automating, optimizing applications

Want to copy multiple CA7 DOC05s from mainframe to Unix

Postby Rockk » Fri Aug 09, 2019 4:46 am

Is it possible to NDM muliple PDS members/files from Mainframe to Unix? I've created a folder in Unix server, and want to send all the DOC05s (PDS members) to a UNIX folder, the name should be the element's names. Anyone could help? Thanks a lot.

This code is working if i want to transfer one DOC05 from mainframe to Unix. Below code is able to transfer one DOC05 file 'ABCXXXX' from dataset DNS.CCC.TT.BB.AA to unix location '/abc/xyz/' and file name is same as mainframe.

submit maxdelay=unlimited PHLS process SNODE=PGT snodeid=(XXXXX)
copy from (file=DNS.CCC.TT.BB.AA(ABCXXXX) snode)
to (file=/abc/xyz/ABCXXXX pnode
          SYSOPTS="datatype=text:xlate=yes:strip.blank=no:")
pend;


I want to transfer all job DOC05s from that above dataset to a directory on UNIX server and name of those files should be as in mainframe. Tried below code but it is giving error message
'more than 1 PDS members cannot be sent to a Non-PDS.

Can you please help ?

submit maxdelay=unlimited PHLS process SNODE=PGT snodeid=(XXXXX)
copy from (file=DNS.CCC.TT.BB.AA/ABC* snode)
to (file=/abc/xyz/ABCXXXX pnode
          SYSOPTS="datatype=text:xlate=yes:strip.blank=no:")
pend;
Rockk
 
Posts: 1
Joined: Fri Aug 09, 2019 4:28 am
Has thanked: 0 time
Been thanked: 0 time

Return to CA-7

 


  • Related topics
    Replies
    Views
    Last post