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
How is a type of file defined in the jcl that executes the cobol program?
what is DSN parameter and DISP parameter is used for?
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?
how you can access an uncataloged dataset in a JCL?
what is the purpose of coding class parameter in job statement?
a dd statement has 2 types of parameters. Name them?
what are the types of abends that occur on job failure? And explain the possible causes of these
Explain the function of dd disp parameter?
What is the syntax of JCL statement?
How can a stopped job be started again?
Explain how can a jobs execution priority be modified?
what is SOC4 error?
I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.
by using cond parameter maximum 8 cond can be coded in single cond means ?explain