Are all (i), (ii), (iii), (iv) of the below are VALID to
reference a temporary dataset ?
STEP2
DD1 DD DSN = &&TEMP
STEP3
DD2 DD (i) DSN = TEMP
(ii) DSN = *.TEMP
(iii) DSN = *.STEP1.DD1
(iv) DSN = *.STEP1.DD1.ONE
Answers were Sorted based on User's Feedback
Answer / deepak_developer
Correct answer is
Actually this question does not have right answer in option.
So i write is isolated.
if we refer to temp then.
dsn= *.step2.dd1
This is right Answer.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / maxcc21
temporary files are:
1)dsn=&&temp
2)//JOBLIB DD SPACE=(CYL,(200,200),RLSE),UNIT=*****
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / rikdeb
(ii) DSN = *.TEMP IS CORRECT.
Plese corretc me if i am wrong.
| Is This Answer Correct ? | 0 Yes | 1 No |
My requirement is : How to populate a empty PS/flat file with ONLY spaces in the first line. You should not use any input dataset to do this. I'm not sure whether you may use any utility for this purpose?
WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move
What is jcl in mainframe?
restart logic ?
Can a job have only steplib and no joblib ?
What is the significance of addrspc parameter in exec statement?
How many extents are possible for a sequential file ? For a VSAM file ?
i have job card like this //job ***** //step1 exec pgm=iebgener //sysut1 dd dsn=main.sss,disp=shr // dd dsn=main1.sss,disp=shr // dd dsn=main2.sss,disp=shr //sysut2 dd dsn=out1.mmm ,disp=(new,catlg,delete) dcb=( ) // sysin dd * like this what i have to do to skip dsn=main1.sss please giveme answer asap
WHAT WILL HAPPEN TO A FILE IF DISP=(MOD,DELETE,DELETE)
how to put a dependency on job in jcl using opc scheduler?
What is GDG?
how can handle the s0c4 abend???