What is the use of DUMMY statement in the JCL?
What is the use of DUMMY Utility in the JCL?
Answers were Sorted based on User's Feedback
Answer / g parit
it will work only if you give record format and record length..something like this
//SYSIN DD DUMMY,recfm=fb,lrec=80,blksize=20
| Is This Answer Correct ? | 1 Yes | 1 No |
Answer / jhonnyboy
Real World Definition of a DUMMY:
- know it none
- test subject(Car Crash)
Conclusion:
- Worthless
| Is This Answer Correct ? | 1 Yes | 4 No |
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
I have 15 flat files. each record in the files have the monthly salary for 12 months with the employee number. Now I want to concatenate the 15 files such that for the employee numbers that are common the o/p file should have only one record and the salaries should be concatenated to that record. How can we do it with JCL?
How can the attributes of one sms dataset be copied to another dataset?
What is the error code SOC01 indicate ?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
How many types of libraries are there in JCL ?
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
how to convert a file form fixed Length to variable length?
i have 10 steps in jcl program but i have to exicute only 2,4,6,8th and 10th ?how it's possible?
What is the meaning of keyword in JCL? What is its opposite?
IN MY JCL I VE 8 STEPS I WANT TO EXCUTE STEP 8 FIRST THEN EXCUTE STEP 4 ,HOW WILL EXCUTE STEP 8 BEFORE STEP 4?
7 Answers Cognizant, IBM, IGT,
How to search strings in multiple dataset with conditions 'string1 & string2'?