MAINFRAME - TIP OF THE DAY :
When you specified V for RECFM parameter, LRECL value is largest record in the file plus 4 bytes. These four bytes contain the actual length of each variable length record in the file
Programmers Voted for below topics. Please Vote for good Posts.
Thank You! for your feedback. Connecting to the server. Please Wait...
Posted: Mon Mar 12, 2007 11:26 am Post subject: To copy a load module mem from one pds to another thru rexx
I need to copy a load module member from one pds to another thru Rexx Pgm.
But this doesn't work.
Can U PLease Help out?
Note:I am able to do the below task manually (i.e) copy loadmodule from one PDS to another mentioned below )
Using IEBCOPY copy into a PS file not PDS, a PS will be created with format VS, and then use IEBGENER which wud convert the PS file
format of VS , which u need to treat it as RECFM = U, into outfile
try the out file using PS/PDS both.
I am not sure whether using only one step IEBCOPY u will be able to
achieve it. We need to use both the steps as i have given in my
sample JCL, few utilites doesnot support RECFM = U thats the
issue when we are trying to copy the LOAD modules.
Well try usign 2 utilites/steps and if this doesn work let us know wil try the same in REXX and get back to you.
Just as Info :
When u ran IEBCOPY using JCL the out pds is already preallocated
and did u check if the member got copied correctly even though the
return code is 0.
Info : Here when i read the I/P file i enforce and read the file with RECFM = U
and finally the file gets copied into another file which we will be
able to browse, this is the final load module copied.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
Cobol Tutorial This cobol tutorial covers most of the important topics like STRING, UNSTRING, COMP, COMP-3.....
DB2 Tutorial DB2 Tutorial focuses on DB2 COBOL Programming. Explains in simple language. Some Chapters are locked, Forum members have free access to these chapters
CICS Tutorial This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming...
JCL Tutorial This is most popular JCL tutorial from mainframegurukul. It does contain important jcl ....
SORT Tutorial This Tutorial covers all important aspects of DFSORT. Has more SORT examples