A STEP has more than 1 file as INPUT. And we have to put all these records int 1 output file. How to do ?
//InputF DD DSN=ID.File1
DSN=ID.File2
DSN=ID.File3
Answer Posted / vipul chougule
Concartinate input data sets
SYSIN DD DSN = file1
DSN = file2
DSN = file3
Is This Answer Correct ? | 15 Yes | 1 No |
Post New Answer View All Answers
WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move
What are the parameters that are used in creating a gdg?
how you can direct the data to spool using SYSOUT option?
When space is allocated for an output dataset, what units can be used?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
State the uses of syspring, sysin, sort fields, sum fields and dummy.
What is timing concept in mainframe?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?
What parameter of the job statement is used to limit the cpu time consumed by the job?
What are some jcl statements that are not allowed in procedures?
Explain how can the attributes of one sms dataset be copied to another dataset?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
What are s0c1, s0c4, s0c5, s0c7 and socb?
How can the disposition of sysout datasets be set for an entire jobstream?
can any one plzzzzzz tell the jcl code for creating ps using idcams