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 Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?

769


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

846


How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?

1794


When output dataset space is required, what quantity categories are used?

813


Is it possible to define dd statements as you want?

640






What are the rules employed while naming the steps in a job?

649


Why include statement is used in a jcl?

679


The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?

930


What are the parameters that are used in creating a gdg?

728


Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?

2212


Can we use DISP=SHR in output file in JCL

943


What is the function of dd name parameter with a 2 part structure; audit.report?

693


Explain how can the submitting users racf authority be overridden in a job stream?

666


Where can program checkpoints be stored for use in a restart?

836


how to do automated restart when a job abends?

837