Hello I suspect you have just put the REXX code in a dataset and then run something like : //REXX EXEC PGM=IKJEFT01,DYNAMNBR=150 //SYSTSPRT DD SYSOUT=* //FTPCTL DD ..... //SYSTSIN DD DSN=BBSPDB.TSO.SYSEXEC(MYREXX),DISP=SHR
This would be more useful : //REXX EXEC PGM=IKJEFT01,DYNAMNBR=150 //SYSTSPRT DD SYSOUT=* //FTTPCTL DD .... //SYSEXEC DD DSN=BBSPDB.TSO.SYSEXEC,DISP=SHR //SYSTSIN DD * %MYREXX And your EXECIO 5 should be EXECIO 3 I think ... Regards Paul -----Original Message----- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Ron Thomas Sent: 12 November 2008 12:06 To: [email protected] Subject: Re: appending userid in a file Hello. I have codee the beleo routine and executed using IKJEF01 and it it is not working. Could some one please let me know what could be the issue? The message i am getting is "IKJ56500I COMMAND ID NOT FOUND " /* REXX */ ID = userid() LINE.1 = "PUT 'XXXX.INVTORY.REPORT(0)' ", ||" SUMMARY_REPORT_" ||ID||".TXT" LINE.2 = "CLOSE" LINE.3 = "QUIT" "EXECIO 5 DISKW FTPCTL (STEM LINE. FINIS" EXIT Thanks, Ron ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html _______________________________________________________ Atos Origin and Atos Consulting are trading names used by the Atos Origin group. The following trading entities are registered in England and Wales: Atos Origin IT Services UK Limited (registered number 01245534) and Atos Consulting Limited (registered number 04312380). The registered office for each is at 4 Triton Square, Regents Place, London, NW1 3HG. This e-mail and the documents attached are confidential and intended solely for the addressee, and may contain confidential or privileged information. If you receive this e-mail in error, you are not authorised to copy, disclose, use or retain it. Please notify the sender immediately and delete this email from your systems. As emails may be intercepted, amended or lost, they are not secure. Atos Origin therefore can accept no liability for any errors or their content. Although Atos Origin endeavours to maintain a virus-free network, we do not warrant that this transmission is virus-free and can accept no liability for any damages resulting from any virus transmitted. The risks are deemed to be accepted by everyone who communicates with Atos Origin by email. _______________________________________________________ ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

