How do you access a file that had a disposition of KEEP?
Answers were Sorted based on User's Feedback
Answer / shivanadri naveen kumar
when ever we create a dataset by using the disposational
parameter is as a KEEP then the data set is not in the
catalog list. But it is kept in the DASD volumes.So, for the
retrieving that data set. if we are not supliying vol serial
number the OS search the data set in catalog list and raise
the error dataset not available....for avaiding this problem
we need to suply the vol serial number to jcl...
Ex
VOL=SER=xxxx------->here xxxx is the vol serial number...
| Is This Answer Correct ? | 11 Yes | 0 No |
Answer / guest
Need to supply Volume Serial Number VOL=SER=xxxx.
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / amarnadh reddy
Hi,
If KEEP declared in normal disposition. Permanent data set
is to be kept on the volume serial number when job is
executed in successful execution.
If Keep declared in abnormal disposition. Permanent data
set is to be kept on the volume serial number when job is
executed in unsuccessful execution.
Regards,
Amarnadh Reddy.
| Is This Answer Correct ? | 1 Yes | 0 No |
If we want to see the eliminated duplicate record thru SORT, how its output file will be managed
what type of version is we r using now real time in all modules(cobol, jcl, cics, db2, vsam)?
delete rules in db2
Suppose I have seven jobs to do, but I want to hold one than how can I do this?
What are the common jcl syntax errors you get? This is not abends?
Why we will create load module in PDS only, Why nt in PS?
One dataset is creating in the step1 with LRECL of 133 and the same dataset is used in the next step in DISP=SHR mode, but while scanning the JCL the following error is thrwon. Please verify the below JCL $/SEPP030.PROVIDER DD DSN=Z1225BT.F5750PG9.F5910PRV.QC#A6868 //ERRORRPT DD DSN=F5910&ST&IN..F5910EPP.ERRORRPT.P&CYCDATE, --ERRORRPT DD DSN=F5910PG.F5910EPP.ERRORRPT.P, // DISP=&DISNCD,UNIT=&DELQ, -- DISP= (NEW,CATLG,DELETE),UNIT=DELQ, // SPACE=(TRK, (30,15),RLSE), // DCB=&DCB2 -- DCB= (PPG.METMODEL,BLKSIZE=0,LRECL=133,RECFM=FB) $/SEPP030.ERRORRPT DD DSN=Z1225BT.F5910EPP.ERRORRPT.AOUTPUT //SEPP040 EXEC PGM=FILEAID,COND= (0002,EQ,SEPP030) //SYSPRINT DD SYSOUT=* //SYSLIST DD SYSOUT=* //DD01 DD DSN=SYSCMN.PROD.CCLIB (F5910EP1),DISP=SHR $/SEPP040.DD01 DD DSN=Z1225BT.TEST.CCLIB (F5910EP1) E1 - DSS20791E - DATA SET 'Z1225BT.F5910EPP.ERRORRPT.AOUTPUT' HAS AN LRECL OF 133 COULD NOT BE OPENED BECAUSE THE CODED LRECL WAS 80. // DD DSN=F5910&ST&IN..F5910EPP.ERRORRPT.P&CYCDATE, -- DD DSN=F5910PG.F5910EPP.ERRORRPT.P, // DISP=SHR $/ DD DSN=Z1225BT.F5910EPP.ERRORRPT.AOUTPUT please find the error code in the above mentioned lines and please suggest me about the error and the solution for that.
how to create a member or sequential dataset through tso command??
How to pass data to a program that is coded in an exec statement?
Name a few IBM utility programs, and explain its function.
consider the following progrm statements MOVE 0 TO SW.NO.OF.REC PERFORM PRI-OUT UNTIL SW=1 DISPALY NO.OF.REC STOP RUN PRE-OUT READ IN-FILE AT END MOVE 1 TO SW WRITE OUO-REC FROM IN-REC ADD 1 TO NO.OF REC if the IN-FILE contains 1000 records what value will be displayed after the PERFORM is over? assume that N0.OF.REC has PIC 9(4) a.1000 b.1001 c.1 d.none of the above
What is the difference between the JOBLIB and the STEPLIB statements?