What u mean by include statement in JCL ?

Answers were Sorted based on User's Feedback



What u mean by include statement in JCL ?..

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

What u mean by include statement in JCL ?..

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

What u mean by include statement in JCL ?..

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

Post New Answer

More JCL Interview Questions

Why 16 is used in calculating the DPRTY ? as, DPRTY = (num1, num2), THEN, DPRTY = 16* num1 + num2

4 Answers   IBM,


what are the symbolic parameters? why do we use symbolic parameters ?

2 Answers   IBM, TCS, UST, Xansa,


What is use of restart and how to use it?

0 Answers  


Explain how can a jobs execution priority be modified?

0 Answers  


One of My Job is running in production, which contains five steps?i want to pass the input to FIFTH step while running is it possible? if how?

1 Answers   CTS,






Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed

0 Answers  


by using cond parameter maximum 8 cond can be coded in single cond means ?explain

0 Answers  


Is automatic restart possible in jcl?

0 Answers  


what if any ,is the syntax error in the following piece of code 01 B PIC A(7) 02 C PIC 9(4) ........ IF(B NUMERIC) ADD 10 TO C a.the condition in the if statement is wrong b.noting is wrong c.because C is initialised.ADD 10 TO C is wrong d.both B and C shoud have same size.

1 Answers  


How to execute step2,step5,step7 of a proc of 10 steps? You are not allowed to change in JCL.

3 Answers   IBM,


when does a dataset go uncataloged?

0 Answers   IBM,


Can we delete the data using IEFBR14 , IEBGENER??

5 Answers   Kanbay,


Categories