Page 1 of 1

modify PSD using IKJEFT01,met PROBLEM

PostPosted: Tue Nov 03, 2009 8:36 am
by kang1t
this is my jcl:
//*
//REPLACE EXEC PGM=IKJEFT01
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
EDIT 'PRIVATE.PROCLIB(MYMEM)' DATA NONUM ASIS
TOP
CHANGE * 999 /=GOODBOY/=GOODGIRL/
TOP
LIST * 999
END SAVE
/*
//*
----------------------------------------
this is result:
END SAVE
DATA SET 'PRIVATE.PROCLIB(MYMEM)' ALREADY IN USE, TRY LATER+
DATA SET IS ALLOCATED TO ANOTHER USER OR JOB
END
----------------
in fact, i can see the PSD is modified by LIST * 999 during executing.but save fail

I am sure there is no session taking up the PDS, and I can modify it by 3.4 edit successfully.

what should i do?

Re: modify PSD using IKJEFT01,met PROBLEM

PostPosted: Tue Nov 03, 2009 8:59 am
by dick scherrer
Hello and welcome to the forum,

I'm not connected so i'm not able to test just now, but you might try using SAVE instead of END SAVE.

Re: modify PSD using IKJEFT01,met PROBLEM

PostPosted: Tue Nov 03, 2009 10:19 am
by kang1t
thanks for your soon response, i tried SAVE, but the situation is the same as follows:
END OF DATA
SAVE
DATA SET 'PRIVATE.PROCLIB(MYMEM)' ALREADY IN USE, TRY LATER+
DATA SET IS ALLOCATED TO ANOTHER USER OR JOB
END

Re: modify PSD using IKJEFT01,met PROBLEM

PostPosted: Tue Nov 03, 2009 12:39 pm
by expat
Find out who is using it :mrgreen:

Re: modify PSD using IKJEFT01,met PROBLEM

PostPosted: Tue Nov 03, 2009 1:31 pm
by kang1t
faint, no body use it , i am sure, i said i can edit the content by 3.4 successfully
what should i do~~~~~~~~~~~~~~~~~~~~

Re: modify PSD using IKJEFT01,met PROBLEM

PostPosted: Tue Nov 03, 2009 8:18 pm
by Bill Dennis
If you have used the dataset in ISPF it is probably still allocated to you as DISP=SHR. EXIT out of ISPF and try again.

Re: modify PSD using IKJEFT01,met PROBLEM

PostPosted: Wed Nov 04, 2009 8:22 am
by kang1t
Bill Dennis, thanks for you reply, I close ISPF and try again, failed. :( :(