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 do automated restart when a job abend?
in ways data can be passed to a COBOL program from JCL?
What is the function of the dd avgrec keyword in sms datasets?
What is NOTCAT ?
what is the difference between JES3 and JES2?
What is Cataloged Procedures?
What is use of restart and how to use it?
Explain how can the submitting users racf authority be overridden in a job stream?
How do you create a temporary dataset?
What is multithreading in jcl?
How to override a dsn that is contained in a proc called by another proc? I need to do the override in the calling jcl?
how do you access an uncataloged dataset in a jcl?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
What is condition checking in jcl? Is this possible?
Can we use DISP=SHR in output file in JCL