how to create gdg with out using idcams utility
Answer Posted / baig
Index for a GDG can be created using utility IEHPROGM.
sYNTAX: BLDG INDEX=DATASET NAME, ENTRIES=NO OF VERSIONS OF
DATASETS, DELETE.
eX: BLDG INDEX=XM77.GDG.DS, ENTRIES=5, DELETE
Deleting Index of GDG using IEHPROGM
DLTX INDEX=dataset name.
| Is This Answer Correct ? | 5 Yes | 4 No |
Post New Answer View All Answers
what is DSN parameter and DISP parameter is used for?
How gdg are concatenated?
How does jcl act on a cobol code?
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat
Differentiate between addressing mode and run mode.
I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?
What is the significance of addrspc parameter in the exec statement?
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
Explain about ISPF/TSO Commands
What do you understand by the terms: joblib and steplib?
How can the disposition of sysout datasets be set for an entire jobstream?
What are the parameter we cannot use in procedure?
Suppose I have five jobs to do. But I want to hold one?
a dd statement has 2 types of parameters. Name them?