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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Name what parameter directs the output of the job log dataset?

566


Describe the various parameters utilized in the creation of a gdg?

687


Is it possible to left uncode disp? If yes, how?

708


How can an in-stream dataset be terminated?

850


how would you create a temporary dataset? And where will you use them?

772






I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?

2111


have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file

925


What is the function of the dd mgmtclas keyword in sms datasets?

743


What is the function of the dd dcb keyword?

832


define cond parameter in jcl?

779


in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?

822


what is use of dsn parameter in dd statement?

675


what is use of dcb parameter in dd statement?

778


What are the difference between jcl and jes?

1050


I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one

1933