Page 1 of 1

IKJEFT01 ends with bad return code

PostPosted: Fri Apr 25, 2014 6:22 pm
by ranga_subham
Hi,

Read Steve's post somewhere and tried below but it ends up with bad return code (RC=12)

//*                                                       
//          SET FILENAME='XXXXX.XXXXX.XXXX.XXXX.XXXX.D0218'
//STEVE002 EXEC PGM=IKJEFT01,PARM='DEL ''%FILENAME'''     
//SYSPRINT DD SYSOUT=*                                     
//SYSTSPRT DD SYSOUT=*                                     
//SYSTSIN  DD DUMMY                                       


SYSOUT:
ACF0C038 ACF2 LOGONID ATTRIBUTES HAVE REPLACED DEFAULT USER ATTRIBUTES
IKJ56709I INVALID DATA SET NAME, '%FILENAME'                         
IDC0014I LASTCC=12                                                   
READY                                                                 
END                                                                   


Please help. Thanks.

Re: IKJEFT01 ends with bad return code

PostPosted: Fri Apr 25, 2014 6:59 pm
by Pedro
You are using a percent sign, but should be using an ampersand.

Re: IKJEFT01 ends with bad return code

PostPosted: Fri Apr 25, 2014 7:47 pm
by ranga_subham
Thanks Pedro.......got the results !