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
Name the parameters which can be used to limit the number of records written to a sysout dataset?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
Where can program checkpoints be stored for use in a restart?
Are there any set of rules for the names of the steps used in a job?
in ways data can be passed to a COBOL program from JCL?
What do you understand by the term job time – out and how can you overcome that?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
how do you access an uncataloged dataset in a jcl?
Is there any command to check wether the ps file is in sorted order?
Is it possible to left uncode disp? If yes, how?
List the various advantages of using jcl language?
How do you submit a job for execution?
what is the purpose of coding class parameter in job statement?
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?