Can I copy the FB (fixed Block) record length file to a VB
(variable Block)record length file and Vise Versa? If Yes
then how ? is that thru one of the JCL utility ?
Answer Posted / atif
Use syncsort utility.
for FB to VB
OPTION COPY
OUTFIL BUILD=(5,1000),FTOV,VLTRIM=X'40'
simililarly for Vb to FB
OPTION COPY
OUTREC FIELDS=(1:5,4034),CONVERT
| Is This Answer Correct ? | 16 Yes | 5 No |
Post New Answer View All Answers
How to pass the parameter in parm using linkage section ? (syntax)?
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
How to alter the parameters for the existing gdg?
Explain dd statement in jcl?
what is use of dcb parameter in dd statement?
Explain the function of dd name parameter with a 2 part structure; audit.report?
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
how you will the direct the data to spool using sysout option?
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
Does jcl support automatic restart?
which utility is used to sort a file in jcl?
In job processing, what happens in execution stage?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
which utility is used to run a cobol-db2 program?