What u mean by include statement in JCL ?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

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?

837


What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?

1758


what is the JCL statement consists of?

883


how you can access an uncataloged dataset in a JCL?

853


Define concatenating?

848


Is automatic restart possible in jcl? If yes, how?

830


When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?

977


What is the use of disp parameter?

828


How to pass data to a program that is coded in an exec statement?

1034


Can I share my data with other jobs? How?

848


Explain the function of //jcllib statement?

924


I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?

1048


Explain the function of the steplib dd statement?

826


What is the syntax of JCL statement?

894


Explain about LMQUERY�give a dialog information about a data set

1089