Is it possiable to use a gdg in the INCLUDE statement in a
SORT jcl? I am using this because I want to change the
condition with out changing the jcl. Please provide with a
sample code.
Answer / soni
anyways u will just give the position of file in include
stt of your sort card, the file may be ps or gdg file.
| Is This Answer Correct ? | 1 Yes | 1 No |
What is difference between Return Code, user completion code, Abend code and reason Code?
If a field is declared as a comp-3 field and if we want to sort a dataset based on this field, then how will the sort card be??? e.g- if we want to sort by a field which is defined as a PIC X(5) then we will mention - sort fields=(1,5,ch,a). Likewise if a field is defined as PIC S9(10)COMP-3 then in this case how will the sort field be defined (because in this case a sign is also involved)???
what is meant by jobtrac?
In a proc i will concatinate 4 dd statements.i want to overide 3 dd statement through jcl how?
Are there any set of rules for the names of the steps used in a job? What are they?
what is the sortcard for comparing two files with a field key and get the duplicates in onefile and noduplicates in another file
How can you trap abends in the JCL?
Which COND paramter will u use to execute the step only if the previous step does not execute
What are the common keyword parameters in both job and exec statements
how will be submit 1 jcl by other jcl? means that how 'll submit one job by other job??
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
Suppose I have a file with three fields with data in the following format 1. empid - S9(4) COMP 2. empname - X(20) 3. empsal - S9(5)V(2) COMP-3 If I view this file, it will not be in a readable format. How to display the empid and empsal fields in a readable format without using COBOL program? What kind of SORT card will have to be coded?