Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


A statement about PROCs is "
In PROCs, Symbolic Parameters can be assigned on PROC and
EXEC", BUT On which EXEC,
(i) On the JCL's EXEC which is calling to PROC1.
(Inside JCL, EXEC PROC1)
(ii) or On the PROC's EXEC where it calls the PGM1.
(Inside PROC, EXEC PGM=PGM1)

Answers were Sorted based on User's Feedback



A statement about PROCs is " In PROCs, Symbolic Parameters can be assigned on PROC and EXEC&q..

Answer / kalone

Hi,

It shud be on the Proc's Exec.See the below example :

//S1 EXEC PROC1,TYPE=P,CC=IN

Inside the PROC1

//PROC1 PROC
//P1 EXEC PGM=prog-name
//STEPLIB ....
//filename DD DSN=&&TYPE.&&CC

So , the Symbolic parameter TYPE and CC will be replaced by
P and IN

Is This Answer Correct ?    6 Yes 0 No

A statement about PROCs is " In PROCs, Symbolic Parameters can be assigned on PROC and EXEC&q..

Answer / dedicated_programmer

Thank You Kalone,
And Could you please have a look on other NEW Questions
posted by me (Dedicated Programmer).

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More JCL Interview Questions

What are steplib and joblib? What for they are used?

0 Answers  


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.

0 Answers  


what are the ways of passing data to a cobol program from jcl?

0 Answers   IBM,


consider the following progrm statements MOVE 0 TO SW.NO.OF.REC PERFORM PRI-OUT UNTIL SW=1 DISPALY NO.OF.REC STOP RUN PRE-OUT READ IN-FILE AT END MOVE 1 TO SW WRITE OUO-REC FROM IN-REC ADD 1 TO NO.OF REC if the IN-FILE contains 1000 records what value will be displayed after the PERFORM is over? assume that N0.OF.REC has PIC 9(4) a.1000 b.1001 c.1 d.none of the above

1 Answers  


i want to see the jobs in skeleton queue in diff region. (eg. 7 regions are running means , i want to see all the jobs in 7 regions which are in skel queue using 1 command)

1 Answers  






Explain about LMQUERY�give a dialog information about a data set

0 Answers  


how to concatenate datasets

5 Answers   EDS,


what is instream data

2 Answers   EDS,


What do you feel makes a good program?

1 Answers  


Explain about File Tailoring

1 Answers  


What is maximum length of block size?

5 Answers   Cap Gemini, Kanbay, TCS,


a job have 5 steps and it will executes a proc which have 5steps in it. now i have to execute step3 only when step2 of proc executes successfully

3 Answers  






Categories