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 parameters to the program as the job is
being executed ?

Answers were Sorted based on User's Feedback



How do you pass parameters to the program as the job is being executed ?..

Answer / guest

By using 'parm' parameter in exec statement. the value
mentioned here should be declared in linkage section in the
program and process thru procedure division. this technique
is very useful when you do not know the parameters at the
time of coding the programs.

Is This Answer Correct ?    2 Yes 0 No

How do you pass parameters to the program as the job is being executed ?..

Answer / lakshmisudha

using PARM parameter we can pass the data from one step to
another step


using REFER BACK PARAMETER we can pass dd statments dsn, dcb
from one step to another step or with in step also

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More JCL Interview Questions

How to execute a set of JCL statements from a COBOL program ?

6 Answers  


How gdg are concatenated?

0 Answers  


What are the 2 types of parameters in dd statement?

0 Answers  


i have a jcl in which 4 & 5 step creates a new generation. 4th step output is as input for the 6th step & 5th step output is used as input in the 7th step. How they are refered as in the 6th & 7th steps? If the job abends in 6th step then how the 5th step output is refered in 7th step?

1 Answers   IBM,


What is the purpose of include statement in a JCL?

2 Answers  


There is one QSAM is the VB file. i want to get the first characters in this file and change those characters from'abcd' to '1234' and creat a vasm file to put '1234' in it. how to do in only JCL. if it not QSAM, it's VASM and VB. how to do it.

1 Answers   IBM,


How to fetch even records from one file to another file by using ICETOOL in JCL?

3 Answers  


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)

1 Answers   IBM,


How Can we see all generations of a GDG ?

3 Answers   Polaris,


I have 20 steps in a job... step01, 02....step17...step20. For some reason I want to execute step17 only if the return code for all the previous steps are less than or equal to 4. otherwise if return code for any of the previous 16 steps is greater than 4, then step17 should be bypassed. How do I do that ?? how and in which step should i formulate COND parameter

8 Answers  


how to increase the space of a dataset in instream procedure.

1 Answers   HCL,


do we need to mention the location of catalogued procedure for each it's call in a single job?

1 Answers  


Categories