How many parameters are there to a DISP statement and what
are their uses ?
Answers were Sorted based on User's Feedback
Answer / guest
There are three( parameters. Parameter 1: current data set
disposition(new, shr, old, mod) Parameter 2: normal close
action for data set (catlg, keep, delete) Parameter 3:abend
action for data set (catlg, keep, delete).
| Is This Answer Correct ? | 6 Yes | 2 No |
Answer / neha
Three parameters ont DISP(praa1,para2,para3)
Para1:Current status of Dataset
Para2:what to do with dataset in normal condition
Para3:What to do with dataset ib abnormal termination.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / soni
disp = ( parameter1,parameter2,paramaeter3).
parameter1 : new , mod ,old , shr
parameter 2: delete ,catlg ,uncatlg , keep ,pass
parameter 3 : delete ,catlg , uncatalog , keep
parameter1 indicates current status of the dataset
parameter 2 for normal terminition of job , how the file is
to be handled
parameter3 same as parameter2 upon abnormal terminitation
| Is This Answer Correct ? | 1 Yes | 1 No |
Write a jcl to execute a job by 7 a.m on Jan 20,1986 ?
a input file contains 1000 records, how to move the first 500 record into one out put file and how to move to second 500 records to anothere output file
How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?
What is use of restart and how to use it?
what is the difference between the JCLLIB and JOBLIB ,and where do we use it ?
Differentiate between the joblib and the steplib statements?
In how ways you can pass the data from Jcl to cobol ?
I have a jcl which is using 2 data sets i want to override those data sets. how can i override the files within the JCL. Give me the syntax. Make sure that it is not calling any Proc.
I have a job (4 steps) with time parameter coded in job & exec, say time=10 in job & time =3,2,2,4 in each steps. Will the job executes successfully?
how would you create a temporary dataset? And where will you use them?
i am trying to copy a PS file into VSAM file in step2 by using PGM=IDCAMS,COND=(0,LT) and the pS file is getting sorted in the step1. I got the return code 00 for step1 but step2 got flushed. can u please help on this. Below is My JCL. SEPP050 EXEC PGM=SORT,REGION=6144K SYSIN DD DSN=SYSCMN.PROD.CCLIB (F5910BNN), DISP=SHR SYSOUT DD SYSOUT=* SYSUDUMP DD SYSOUT=A SORTIN DD DSN=Z1225BT.F5910EPP.HISOUT, DISP=SHR SORTOUT DD DSN=Z1225BT.F5910EPP.HISOUT.SORTOUT5, DISP= (NEW,CATLG,DELETE),UNIT=DELQ, SPACE=(CYL, (500,500),RLSE), DCB= (RECFM=FB,LRECL=1606,BLKSIZE=16060,BUFNO=15) SORTWK01 DD UNIT=SYSDA,SPACE=(CYL, (1)) SORTWK02 DD UNIT=SYSDA,SPACE=(CYL, (1)) SORTWK03 DD UNIT=SYSDA,SPACE=(CYL, (1)) SORTWK04 DD UNIT=SYSDA,SPACE=(CYL, (1)) SYSIN1 DD UNIT=VIO,SPACE= (80,1) * SEPP060 EXEC PGM=IDCAMS,COND= (0,LT) SYSPRINT DD SYSOUT=* SYSOUT DD SYSOUT=* SYSLIST DD SYSOUT=* *** DD01 DD DSN=Z1225BT.F5910EPP.HISOUT.SORTOUT, // DISP=SHR //*** //DD01O DD DSN=Z1225BT.F5910PHS, // DISP=SHR, // AMP=(AMORG,'BUFND=12,BUFNI=5') //SYSIN DD DSN=SYSCMN.PROD.CCLIB(F5910BBB), // DISP=SHR Output RC for the two steps: SDCBPJ05 SEPP050 00 236 .00 .00 .0 SDCBPJ05 SEPP060 FLUSH 0 .00 .00 .0
I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK