What u mean by include statement in JCL ?
Answers were Sorted based on User's Feedback
Answer / guest
An include statement identifies a member of a pds or pdse
that contains. This set of JCL statements is called an
include group. The system replaces the include statement
with the statements in the include group.
| Is This Answer Correct ? | 32 Yes | 4 No |
Answer / arnab gupta
INCLUDE Statement
A set of JCL statements coded within a member of a PDS can be included to a JCL using an INCLUDE statement. When the JES interprets the JCL, the set of JCL statements within the INCLUDE member replaces the INCLUDE statement.
Syntax
Following is the basic syntax of a JCL INCLUDE statement:
//name INCLUDE MEMBER=member-name
The main purpose of INCLUDE statement is reusability. For example, common files to be used across many JCLs can be coded as DD statements within INCLUDE member and used in a JCL.
Dummy DD statements, data card specifications, PROCs, JOB, PROC statements cannot be coded within an INCLUDE member. An INLCUDE statement can be coded within an INCLUDE member and further nesting can be done up to 15 levels.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / sathya
include is use to extract the selected fields from input
dataset and copy to ouput dataset using sort utility.
//SORTTA EXEC
PGM=SORT
//SYSIN DD
*
SORT FIELDS=COPY
INCLUDE COND=
(52,9,CH,EQ,C’123456789’)
/*
//SORTIN DD DSN=…,DISP=SHR
//SORTOUT DD DSN=…
//SYSOUT DD
SYSOUT=*
//
The INCLUDE control statement is used to establish
Selection criteria for the records to be included in the
Output dataset.
| Is This Answer Correct ? | 19 Yes | 19 No |
If we have 100 job steps in JCL and we want to excute steps only starting from 43 to 50, then how it can be coded in JCL/
what is alternate index?
Can I share my data with other jobs? How?
how do u define a file in cobol and jcl ?
How do you restart a step in JCL?
My JCL has 4 steps that execute PROC’s P1, P2, P3 and P4 as shown below //P1 EXEC PROC=P1 //P2 EXEC PROC=P2 //P3 EXEC PROC=P3 //P4 EXEC PROC=P4 There are four steps S1, S2, S3 and S4 in each PROC’s (i.e. P1, P2, P3 and P4) I want to execute only step S2 of PROC P2 and no other steps or PROC’s. How do you achieve this?
Can you delete the GDG base without deleting GDG generations ?
How can I override a dsn that is contained in a proc called by another proc? I need to do the override in the calling JCL.
what is static and dynamic call with examples?
how to purge 50 initiators continuously?? console commands??
write a jcl to execute a job by 7:00 am on jan 20,1986?
in production region 100 steps are running,but i need to run only step5 without changing code how can i do it?