On Wed, 22 May 2013 10:28:52 -0500, Roberts, John J wrote: > >... Then we need to ... pull the data from the Unix File system into a >regular MVS Generation Data Set. > Why?
>1. Is it possible for a z/OS UNIX Shell Script to SUBMIT an MVS JOB? I >know I can do plain FTP with FILETYPE=JES. But is there a more direct way >that doesn't involve putting plain text passwords on the wire? > It could run a Rexx wrapper to use EXECIO or IEBGENER with SYSUT2 as SYSOUT=(,INTRDR). The submitted job will inherit the identities of the submitting process. If this is satisfactory, no password needed. SYSUT1 can be allocated as FILEDATA=TEXT,PATH='/dev/fd/0', so no temp file is needed. >4. I know that z/OS Unix Shell Scripts can use the "cp" command to copy >files from HFS to MVS, using the "//'HLQ.WHATEVER'" notation. But will this >work with GDG's to create the +1 generation? And how do you control DCB/SPACE >attributes for the receiving file? > You can specify SPACE among the options to cp. But at some time in the past, SPACE implied RLSE (go figger!) unless a funky NORLSE option was specified. Others will know more about difficulties with GDGs. >5. What are the chances of being able to transfer BINARY VB files >successfully? I note that SFTP doesn't seem to have LOCSITE RDW options. > Dovetailed? FILEDATA=RECORD? -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
