Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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)

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does the jcl specify the job to os?

1109


Is it possible to left uncode disp?

1160


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

1156


Explain how can return codes be tested before execution of a job step?

1296


Explain the function of dd name parameter with a 2 part structure; audit.report?

1412


What is jcl in mainframe?

1155


Name the statement which can be used to send data to another mvs jes3 node?

1134


What is the function of the dd dcb keyword?

1290


What is the format of comment statement?

1148


when does a dataset go uncataloged?

1265


How can unused space allocation be returned to the system when a dataset is closed?

1430


Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed

2525


Explain the jcl exec statement?

1102


What happens if both JOBLIB & STEPLIB is specified ?

1102


is there any way to execute more than one proc in the same exec statement at the same time..?

2595