modify PSD using IKJEFT01,met PROBLEM



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

modify PSD using IKJEFT01,met PROBLEM

Postby kang1t » Tue Nov 03, 2009 8:36 am

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?
kang1t
 
Posts: 4
Joined: Tue Nov 03, 2009 8:30 am
Has thanked: 0 time
Been thanked: 0 time

Re: modify PSD using IKJEFT01,met PROBLEM

Postby dick scherrer » Tue Nov 03, 2009 8:59 am

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.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: modify PSD using IKJEFT01,met PROBLEM

Postby kang1t » Tue Nov 03, 2009 10:19 am

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
kang1t
 
Posts: 4
Joined: Tue Nov 03, 2009 8:30 am
Has thanked: 0 time
Been thanked: 0 time

Re: modify PSD using IKJEFT01,met PROBLEM

Postby expat » Tue Nov 03, 2009 12:39 pm

Find out who is using it :mrgreen:
expat
 
Posts: 459
Joined: Sat Jun 09, 2007 3:21 pm
Has thanked: 0 time
Been thanked: 8 times

Re: modify PSD using IKJEFT01,met PROBLEM

Postby kang1t » Tue Nov 03, 2009 1:31 pm

faint, no body use it , i am sure, i said i can edit the content by 3.4 successfully
what should i do~~~~~~~~~~~~~~~~~~~~
kang1t
 
Posts: 4
Joined: Tue Nov 03, 2009 8:30 am
Has thanked: 0 time
Been thanked: 0 time

Re: modify PSD using IKJEFT01,met PROBLEM

Postby Bill Dennis » Tue Nov 03, 2009 8:18 pm

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.
Regards,

Bill Dennis

Disclaimer: My comments on this forum are my own and do not represent the opinions or suggestions of any other person or business entity.
Bill Dennis
 
Posts: 278
Joined: Thu May 15, 2008 9:45 pm
Has thanked: 0 time
Been thanked: 0 time

Re: modify PSD using IKJEFT01,met PROBLEM

Postby kang1t » Wed Nov 04, 2009 8:22 am

Bill Dennis, thanks for you reply, I close ISPF and try again, failed. :( :(
kang1t
 
Posts: 4
Joined: Tue Nov 03, 2009 8:30 am
Has thanked: 0 time
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post