Explain how can values be passed from the job stream to an executable program?



Explain how can values be passed from the job stream to an executable program?..

Answer / Rahul Tyagi

Values can be passed from the job stream to an executable program using JCL parameters. These parameters are defined in the DD statement, and they can be accessed within the program using system calls or language-specific methods.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JCL Interview Questions

FOR a GDG, the book by 'SABA ZAMEER' says 'We can NOT ALTER the LIMIT parameter after it is defined'. (p-211). But many persons have written that it can be changed, which one is true ?

4 Answers   IBM,


What are the difference between jcl and jes?

1 Answers  


What is MOD and when would you use it?

3 Answers  


What is NOTCAT ?

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  


i have two flat files.i want to select one record from that file by using jcl.for example file1 contains emp no,name,joining date. file2 has same details.emp no is primary key. i will give empno.that emp details send to outfile.please let me know if any one knows it.give sample code.

1 Answers   TCS,


read all error codes like SB07?

1 Answers  


write a jcl to execute a job by 7:00 am on jan 20,1986?

1 Answers   IBM,


if you have big pgm. during compilation is abends with (soc7)how do you know which line has soc 7 error.

4 Answers   IBM,


In a JCL if previous steps return code is greater than 0 or 4 then the next step will not execute. But the job will be successfull with the maximum return code. How can we reset this maximum return code to '0' regardless of return codes of any steps?

4 Answers  


I have Job A and Job B. I want to trigger Job B from Job A. Please advise.

2 Answers   Wipro,


I have 10 steps, I want to run STEP1 TO STEP4 then I should not run STEP5 and STEP6. Aganin I want to execute from STEP7 to STEP10. ONLY using CONDITION CODES how can we execute this process? 1. Where we can set cond codes for STEP5 and STEP6? 2. How can we execute remaining steps from STEP7 to STEP10?

2 Answers  


Categories