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
Name what parameter directs the output of the job log dataset?
Describe the various parameters utilized in the creation of a gdg?
Is it possible to left uncode disp? If yes, how?
How can an in-stream dataset be terminated?
how would you create a temporary dataset? And where will you use them?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
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
What is the function of the dd mgmtclas keyword in sms datasets?
What is the function of the dd dcb keyword?
define cond parameter in jcl?
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?
what is use of dsn parameter in dd statement?
what is use of dcb parameter in dd statement?
What are the difference between jcl and jes?
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