how to convert a file form fixed Length to variable length?

Answers were Sorted based on User's Feedback



how to convert a file form fixed Length to variable length?..

Answer / harsh

//FBVB JOB A92,PROGRAMMER
//S1 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=A123456.SORT.SAMPIN,DISP=SHR
//VBOUT DD DSN=A123456.SORT.VSAMP,DISP=(NEW,CATLG,DELETE),
// UNIT=3390,SPACE=(CYL,(5,5))
//SYSIN DD *
OPTION COPY
OUTFIL FNAMES=VBOUT,FTOV
/*

Is This Answer Correct ?    9 Yes 2 No

how to convert a file form fixed Length to variable length?..

Answer / naga

In recfm=fb is fixed. instead of fb put vb in record format
is variable file,in variable file extra 4 byte control
information is added

Is This Answer Correct ?    8 Yes 1 No

Post New Answer

More JCL Interview Questions

what happens when time=0 is given in jcl code. what happens when blksize=0 is given in jcl code. what is symbolic and overriding parameters and a example program.

6 Answers   HCL,


Explain the function of the dd dcb keyword?

0 Answers  


i have 3 steps in my jcl, where i want to run only one step at a time depending on the variable. How should i give the condition statement... I have tried this with two steps which is working but not able to add condn for the 3rd step. can anyone help me... I want to know the cond stmt which i can code in step 3 and step4, so that only either step2 or step3 or step4 executes

3 Answers  


is there any way to execute more than one proc in the same exec statement at the same time..?

0 Answers  


What is COND=EVEN ?

9 Answers   IBM,






How is the keyword DUMMY used in JCL?

4 Answers  


How can the submitting users racf authority be overridden in a job stream?

0 Answers  


Explain how can an in-stream dataset be terminated?

0 Answers  


which parameter is used to check the syntax of a jcl without executing it?

0 Answers   IBM,


Can we give TIME = (1440, 59) also ? or is TIME = (1439, 59) is the last one ?

5 Answers   IBM,


describe the dd statement,its meaning,syntax and keywords?

1 Answers  


What is the function of dd disp parameter?

0 Answers  


Categories