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

Answer Posted / guest

Using EXEC CICS SPOOL WRITE(var-name) END-EXEC command.
var-name is a COBOL host structure containing JCL statements.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the statements that are not valid to be included in an include statement?

1070


how to run batch program without jcl?

10646


Can an individual step be restricted from using all the jobs allowed cpu time?

1236


a dd statement has 2 types of parameters. Name them?

859


How can the submitting users racf authority be overridden in a job stream?

981


Name a few IBM utility programs, and explain its function.

4676


what is “Cond= even” and “Cond=only”?

965


What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?

9457


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

1967


My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.

2199


how you can access an uncataloged dataset in a JCL?

857


what EXEC statement is and what is the syntax of EXEC statement used in JCL?

868


What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?

839


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

883


what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?

908