Answer Posted / pradeep
XSUM is just to store the bypassed data during a SORT JCL.
For example see the below given JCL,
//STEPSORT EXEC PGM=SORT
//SORTIN DD DISP=SHR,DSN=XXX.PV.SUMIN.SAMF
//SORTOF01 DD DISP=SHR,DSN=XXX.PV.SUMOUT.SAMF
//SORTXSUM DD DSN=XXX.PV.DUPLIC.SAMF,
// DISP=(NEW,CATLG,DELETE),UNIT=SYSDA,
// SPACE=(TRK,(50,50),RLSE),
// DCB=(RECFM=FB,LRECL=60,BLKSIZE=0)
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSIN DD *
SORT FIELDS=(1,1,CH,A)
OUTFIL FILES=01,INCLUDE=(6,6,CH,EQ,C' ')
SUM FIELDS=NONE,XSUM
/*
Is This Answer Correct ? | 40 Yes | 11 No |
Post New Answer View All Answers
what is the purpose of coding class parameter in job statement?
Explain the function of the steplib dd statement?
When space is allocated for an output dataset, what units can be used?
If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
Explain the function of //jcllib statement?
what are the statements that are not valid to be included in an include statement?
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
Is there any command to check wether the ps file is in sorted order?
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
which utility is used to sort a file in jcl?
Explain the function of //cntl statement?
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) ?
Suppose I have five jobs to do. But I want to hold one?