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
hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u
Is condition checking possible in jcl?
How is a type of file defined in the jcl that executes the cobol program?
what JCL Procedures?
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
Explain how can a stopped job be started again?
Why block size is multiple of lrecl in jcl?
What is the function of dd disp parameter?
Explain about LMQUERY�give a dialog information about a data set
How can unused space allocation be returned to the system when a dataset is closed?
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) ?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
What is the difference between the positional and keyword parameters? Give examples.
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?
Explain the purpose of dd dummy statement?