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
How gdg are concatenated?
what is use of space parameter in dd statement?
what happens in execution stage in job processing?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
What are the rules employed while naming the steps in a job?
WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375
is there any way to execute more than one proc in the same exec statement at the same time..?
Explain the purpose of the dd keylen parameter?
How can a stopped job be started again?
What is Cataloged Procedures?
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
In sms datasets, what is the function of the dd mgmtclas keyword?
Can we call instream to catalog and catalog to instream?
What is the motivation behind coding class parameter in job statement?
how do you code a null statement?