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


Please Help Members By Posting Answers For Below Questions

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

1070


What are the parameters that are used in creating a gdg?

949


how you can direct the data to spool using SYSOUT option?

1160


When space is allocated for an output dataset, what units can be used?

986


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.

2207


State the uses of syspring, sysin, sort fields, sum fields and dummy.

840


What is timing concept in mainframe?

1900


How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?

916


What parameter of the job statement is used to limit the cpu time consumed by the job?

1025


What are some jcl statements that are not allowed in procedures?

956


Explain how can the attributes of one sms dataset be copied to another dataset?

947


Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

876


What are s0c1, s0c4, s0c5, s0c7 and socb?

935


How can the disposition of sysout datasets be set for an entire jobstream?

1083


can any one plzzzzzz tell the jcl code for creating ps using idcams

11072