View previous topic :: View next topic
|
Author |
Message |
edwin_infy
New User
Joined: 01 Jul 2008 Posts: 32 Location: chennai
|
|
|
|
Hi all,
In STEP 1 i Run a Batch SPUFI using IKJFT01
while the query is taken from
XXXX.YYYYY.ZZZZ(MEMBER)
and in STEP2 I want to Delete this MEMBER using IDCAMS
While deleting it says XXXX.YYYYY.ZZZZ is in use.
Can this STEP2 be done in the same JCL
My requirement is once i run the query i want to empty the PDS member
or delete the member. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
How did the query get into this member?
Suggest you post the jcl for the job and diagnostic info generated by the run. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Quote: |
While deleting it says XXXX.YYYYY.ZZZZ is in use. |
TS probably has a disp=OLD in a dd statement for the pds(mem)
but, that is just a guess, it is early and for some reason just had to make a post. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hi Dick,
Quote: |
it is early and for some reason just had to make a post. |
Welcome to Thursday
I haven't gotten out of Wednesday yet. . .
d |
|
Back to top |
|
|
edwin_infy
New User
Joined: 01 Jul 2008 Posts: 32 Location: chennai
|
|
|
|
I will Edit that MEMBER by creating it newly, I have Used DISP=SHR only
Any Suggestion to free this pds once this SPUFI runs.
I want to delete the same at the end of job. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
edwin_infy wrote: |
I will Edit that MEMBER by creating it newly, I have Used DISP=SHR only
Any Suggestion to free this pds once this SPUFI runs.
I want to delete the same at the end of job. |
Blah, blah, blah, blah, blah....
Dich Scherrer wrote: |
Suggest you post the jcl for the job and diagnostic info generated by the run. |
we are not interested in your summations.
You have a problem that you can not solve.
you need help solving the problem.
Give us the info that we need and we can help you.
Did you bother to exit the member before running the Job? |
|
Back to top |
|
|
edwin_infy
New User
Joined: 01 Jul 2008 Posts: 32 Location: chennai
|
|
|
|
Yes . I had opened this PDS and Ran the JCL.
That was a mistake. Sorry |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
no need to be sorry,
glad you were able to resolve your problem.
in the jes 1 or jes 3 dsid, not only did it say ds not available,
it often, though not always, will include the info as what job has the exclusive on the file. |
|
Back to top |
|
|
|