I have a COBOL program that Accepts some input data. How do
you code the JCL statement for this?
( How do you code instream data in a JCL? )

Answer Posted / pratheep

ANOTHER WAY IS
//SYSIN=*
INPUT 1
INPUT 2
//

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.

2241


What is notcat 2 - gs?

1207


For what purpose steplib and joblib are used ?

919


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

1163


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) ?

2026


How can a stopped job be started again?

946


How gdg are concatenated?

897


IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C

1948


Can we call instream to catalog and catalog to instream?

928


Matching Logic in Jcl not in cobol.Could any one please answer this question

3949


I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.

2042


what is the compile process of cobol program expalin with code

2341


How jcl is used for testing batch programs?

1006


Explain the hierarchy levels in jcl?

1428


What is the function of job statement in jcl?

877