[plug] Can this be done?

Richard Meyer meyerri at westnet.com.au
Sun Dec 13 12:26:44 WST 2009


Hi there,

Someone working with MVS on a system/Z mainframe wants to know about
transferring a workload from MVS to z/linux.

His question concerns a batch job he runs that concatenates a number of
datasets on tape into one input file for the batch job

On MVS he achieves it by coding the following in his JCL (Job Control
Language)

//INPUT DD DSN=input1,UNIT=TAPE, ......
//      DD DSN=input2,UNIT=TAPE, ......
//      DD DSN=input3,UNIT=TAPE, ......
//      DD DSN=input4,UNIT=TAPE, ......

What this does is when the program opens a logical file called INPUT, it
goes and opens a physical file called input1, at end it closes the file
and opens input2, etc, through input3 and input4 as well, returning End
Of File at the end of the last file.

Without catting them into one file, how can we do this under Linux?

Thanks
RM

-- 
Richard Meyer
Necessity is the plea for every infringement of human freedom.
It is the argument of tyrants; it is the creed of slaves. 
William Pitt, 1783

Linux Counter user #306629




More information about the plug mailing list