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 / banupriya
ONE WAY OF ACCEPTING THE DATA IS
// SYSIN DD*
VALUE1
VALUE2
*/
and other way you can also give teh data thru SYSIN is:
// SYSIN DD DSN='DDPCN.EKTA.TEST',DISP=SHR
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
Mention the types of job control statements?
What are some jcl statements that are not allowed in procedures?
what is use of space parameter in dd statement?
Is it possible to left uncode disp? If yes, how?
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) ?
Explain the hierarchy levels in jcl?
what is SOC4 error?
How do you access an uncatalogued dataset in a jcl?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
Is it possible to define dd statements as you want?
I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?
What does a disposition of (new,catlg,keep) for a dsn mean?
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.