View previous topic :: View next topic
|
Author |
Message |
philipraju Warnings : 1 New User
Joined: 16 Apr 2006 Posts: 29
|
|
|
|
1.Can anybody tell me the difference between cobol INDEX and DB2 Index
2. I have one JCL with GDG creation,
here in the JCL I am going to create TWO GDG's
In the middle of the JCL i.e, in STEP2 and STEP3 creating two GDG's, after that STEP5 abended,....
In this JCL I want to restart the job from STEP5. In STEP6 I'm going to read the latest generation of the GDG ...... in this job how can I restart the job from STEP5 and which one is the latest GDG generation .... is the last created in job or previously created GDG? |
|
Back to top |
|
|
parikshit123
Active User
Joined: 01 Jul 2005 Posts: 269 Location: India
|
|
|
|
Hi,
Quote: |
1.Can anybody tell me the difference between cobol INDEX and DB2 Index |
Index in COBOL is a special register variable ( that you don't have to define) which is used in conjuction with OCCURS clause and SEARCH ALL. It contains displacement of the perticular occurance of the array element.
Whereas INDEX in DB2 is a mechanism to improve access throughput. Often, attributes of a table is indexed if the application programs are more likely to use that column in where clause.
well, as far as your second question is concerned,
You can use RESTART=(JOBSETEP.PROCSTEP)
(0) will be the latest generation if you restart the job as its altogather a different instance of the job that you are running with RESTART option.
Thanks,
Parikshit |
|
Back to top |
|
|
|