To be more precise and clear, my requirement is as follows:
My input file (PS) is in the below given format:
delivery-------- delivery file --------- tape no.
kk1 --------ttuu.jjuu.file1.mar09---- 15433
kk1 --------ttuu.jjuu.file2.mar09---- 15434,45668
bb1 --------ttuu.jjuu.file3.mar09---- 15445
similarly it contains multiple records (more than 100)
secondly, i have a JCL wherein i am copying these delivery files to some other datasets. for copying these delivery files i am giving the tape no. in the JCL for each delivery file.
As this activity happens 4 days in a week. so it is quite tedious job to copy the tape numbers every time from the input file and paste it in the jcl for each delivery file.
can u please suggest if this can be done using REXX in a more simpler way?