View previous topic :: View next topic
|
Author |
Message |
humpty Warnings : 1 New User
Joined: 01 May 2005 Posts: 23
|
|
|
|
hi everyone..
i am new user to mainframe programming. i have recently gone through JCL. i am little confused for DISP keyword. When i submit a JCL which includes output in a new PS..... for example : when i merge or sort the data in one PS and get the output in the new PS, i need to change the name of the PS, everytime i submit the JCL. is there any part of code that i may not need to rename the output PS i.e everytime i submit a JCL, first it may check for the PS in which i want the output. Incase the PS exist it may delete the same and in case no such PS exists then it may create the new PS for the output.
guidence needed. |
|
Back to top |
|
|
Rupesh.Kothari
Member of the Month
Joined: 27 Apr 2005 Posts: 463
|
|
|
|
HI,
Quote: |
Incase the PS exist it may delete the same and in case no such PS exists then it may create the new PS for the output. |
I believe these is no such Disp parameter for the same.
You can use DISP=Shr, if you do not want to delete the existing PS. It will just Overright it.
Hope It clears your doubt.
Regards
Rupesh |
|
Back to top |
|
|
humpty Warnings : 1 New User
Joined: 01 May 2005 Posts: 23
|
|
|
|
thanks rupesh for ur interest.
though i have not tried the suggested instruction, however, you understand the issue. i actually want to override the pre-existing PS. let me try the same.
|
|
Back to top |
|
|
|