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...


How do you pass some input from JCL to PL1?

Answers were Sorted based on User's Feedback



How do you pass some input from JCL to PL1?..

Answer / amit krishna

You can pass inputs to a PL/1 Program through a JCL by two ways.

1- Through PARM.
Through this method PARM=parameter keyword is mentioned on the EXEC statement in JCL. The supplied PARM should be received through an argument in MAIN PL/1 program & Further declared accordingly.

//STEP02 EXEC PGM=PL1PGM,
// PARM='20110423'


PL1PGM: PROC(PARM) OPTIONS(MAIN);

2- Through SYSIN

Through this method SYSIN statement followed by the parameter to be placed in the JCL. In the PL/1 program

It is necessary to use a "//SYSIN DD *" statment in the JCL.

//STEP02 EXEC PGM=PL1PGM
|
|
//SYSIN DD *
20110423
/*

OR You can write the input in a file.
//SYSIN DD DISP=SHR,DSN=MY.INPUT.DATASET(INPUT)

Is This Answer Correct ?    5 Yes 1 No

How do you pass some input from JCL to PL1?..

Answer / annam ravinder

by using PARM parameter

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More IBM MainFrame AllOther Interview Questions

Is it rquired any server for Ibm framework? Give me list of Ibm framework & recent version IBm framework?

0 Answers   IBM,


how are start and xctl different?

0 Answers   IBM,


Why banking use IBM framework?

1 Answers   IBM,


hai this ravi, i completed my mca in 2009, i learnt .net course, i hav been looking for a job on .net, now i would like learn ibm mainframes to get job immediatly,is it correct decision? basically am not sound in programming,what about unix adminstration plz help me to take correct decision,which is the best course now to get the job immediatly

2 Answers  


how can we describe comp sync?

0 Answers   IBM,


who will provide realtime projects for me on mainframe banking Or health care domain on bangalore."it's urgent for me" pls send uregent reply

3 Answers   IBM, Infosys,


Can the values of alphanumeric be moved to variable numeric?

0 Answers  


In a test environment, is there a need to run a runstats?

0 Answers  


by using xpeditor if we want to debug the subpgm, how can you code in x-ped for mai-pgm n sub-pgm ?

0 Answers  


have you ever know what is the meaning of Packed Decimal  

0 Answers  


what is the main purpose of using file-aid ?

2 Answers   NIIT, Tech Mahindra,


88 level entry is for

7 Answers   Accenture, Cognizant, EDS, Wipro,


Categories