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 |
How to copy VSAM files without using REPRO
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
how to write a jcl prog to copy alternate recs from ps1 to another ps2,suppose ps1 having 10 recs?
How many parameters are there to a DISP statement and what are their uses ?
Explain about LMGET�read a logical record from a data set
how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?
Explain the function of a dd statement?
Can we browse or edit the GDG dataset if it is a tape entry?
how GDGs are concatinated?
WHAT WILL HAPPEN TO A FILE IF DISP=(MOD,DELETE,DELETE)
In my JCL 10 Steps Will Be there Now i want to execute step05 And step06. How to Give the Cond?
What is STEPLIB, JOBLIB? What is it used for?