IKJEFT01 ends with bad return code



TSO Programming, ISPF, SDF, SDSF and PDF, FTP, TCP/IP Concepts, SNA & SNA/IP etc...

IKJEFT01 ends with bad return code

Postby ranga_subham » Fri Apr 25, 2014 6:22 pm

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.
ranga_subham
 
Posts: 279
Joined: Fri Jul 18, 2008 7:46 pm
Has thanked: 0 time
Been thanked: 1 time

Re: IKJEFT01 ends with bad return code

Postby Pedro » Fri Apr 25, 2014 6:59 pm

You are using a percent sign, but should be using an ampersand.
Pedro Vera
User avatar
Pedro
 
Posts: 686
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

Re: IKJEFT01 ends with bad return code

Postby ranga_subham » Fri Apr 25, 2014 7:47 pm

Thanks Pedro.......got the results !
ranga_subham
 
Posts: 279
Joined: Fri Jul 18, 2008 7:46 pm
Has thanked: 0 time
Been thanked: 1 time


Return to TSO & ISPF

 


  • Related topics
    Replies
    Views
    Last post