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 is the difference between these two parameters? -> accounting information -> class how would it bring the differrence to a program?

4 Answers  


GDGs can be CREATED (not COPIED) only on DASD and NOT on tape drives ? Is it True ?

2 Answers   ABC, IBM,


how to skip the steps in JCl

2 Answers   EDS,


How to find the number of duplicates in a file using Sort?

4 Answers   Fidelity,


I have Job A and Job B. I want to trigger Job B from Job A. Please advise.

2 Answers   Wipro,


what is the meaning of keyword in jcl?what is is opposite?

4 Answers  


What does SYSIN * indicate?

2 Answers  


There are 2PROCS in a JCL. I want following conditions to be carried out 1) 1st PROC should be executed as such In second PROC 2) First 4steps should not be executed 3) 5th step should not be executed 4) 6th and 7th step should be executed The change should be done only in the JCL and PROC should be untouched ?

3 Answers   ADP,


which utility is used to run a cobol-db2 program?

0 Answers   IBM,


How to run cobol program using jcl?

0 Answers  


Why block size is multiple of lrecl in jcl?

0 Answers  


What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?

0 Answers  


Categories