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 / sathya
yes we can do using sort utility,
//SORTTA EXEC
PGM=SORT
//SYSIN DD *
SORT
FIELDS=COPY
OUTREC FIELDS=(1:5,4096),CONVERT
/*
//SORTIN DD DSN=…,DISP=SHR
//SORTOUT DD DSN=…
//SYSOUT DD
SYSOUT=*
//
The CONVERT control statement is used to convert the
File format from VB to FB.
| Is This Answer Correct ? | 16 Yes | 2 No |
Post New Answer View All Answers
How to submit jcl through a cobol program?
Suppose I have five jobs to do. But I want to hold one?
How to resolve the error "WER488A JOIN CAPACITY EXCEEDED" I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem? I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem?
when can a job time-out occur? How to overcome that?
What is condition checking in jcl? Is this possible?
Explain how can an in-stream dataset be terminated?
What are the difference between jcl and jes?
List the various advantages of using jcl language?
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
How does the jcl specify the job to os?
which parameter is used to check the syntax of a jcl without executing it?
Differentiate between addressing mode and run mode.
For what purpose steplib and joblib are used ?
How to alter the parameters for the existing gdg?
What is the syntax of JCL statement?