Re: RC=4093 from TSO ALLOC in compiled REXX
- Original Message - From: Staffan Tylen sty...@pf-one-consulting.com Newsgroups: bit.listserv.ibm-main Sent: Sunday, March 21, 2010 7:20 PM Subject: Re: RC=4093 from TSO ALLOC in compiled REXX Spot on, Bob. No TSO environment. Thanks. Staffan Staffan, You should use BPXWDYN instead of ALLOC if you want your programs to run under IRXJCL or be called in a non-TSO environment. Regards, Tom Conley -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
SV: RC=4093 from TSO ALLOC in compiled REXX
How do You JCL look like in when executing the compiled version ? Regards, Thomas Berg _ Thomas Berg Specialist A M SWEDBANK -Ursprungligt meddelande- Från: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] För Staffan Tylen Skickat: den 21 mars 2010 18:10 Till: IBM-MAIN@bama.ua.edu Ämne: Re: RC=4093 from TSO ALLOC in compiled REXX Thanks for the tip but I run both in batch using the same JCL except for the EXEC statement, which either points to IKJEFT01 or to the compiled program. Wrong! SYSPROC is of course changed to STEPLIB also. And the ALLOC is for a temporary data set so the prefix should not come into question anyway, I guess. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
RC=4093 from TSO ALLOC in compiled REXX
I'm staring myself blind on a silly problem that I've created for myself. Here is a very advanced REXX program: /* rexx */ address TSO ALLOC F(FILE1) NEW TRACKS SPACE(1) RECFM(F B) LRECL(80) REUSE exit RC If I execute it using the TSO EXEC command it gives RC=0 as expected,but if I compile the program and run it from the load library, it gives RC=4093! What's the secret? Staffan -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: RC=4093 from TSO ALLOC in compiled REXX
Could it have something to do with Prefix processing; where it's successful when run in foreground because a Prefix is added to the filename, but not in background because without the Prefix, you end up with an invalid dsn??? Just a guess. All the best, Scott T. Harder Mainframe Services, Inc. Naples, FL -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Staffan Tylen Sent: Sunday, March 21, 2010 11:11 AM To: IBM-MAIN@bama.ua.edu Subject: RC=4093 from TSO ALLOC in compiled REXX I'm staring myself blind on a silly problem that I've created for myself. Here is a very advanced REXX program: /* rexx */ address TSO ALLOC F(FILE1) NEW TRACKS SPACE(1) RECFM(F B) LRECL(80) REUSE exit RC If I execute it using the TSO EXEC command it gives RC=0 as expected,but if I compile the program and run it from the load library, it gives RC=4093! What's the secret? Staffan -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: RC=4093 from TSO ALLOC in compiled REXX
Thanks for the tip but I run both in batch using the same JCL except for the EXEC statement, which either points to IKJEFT01 or to the compiled program. Wrong! SYSPROC is of course changed to STEPLIB also. And the ALLOC is for a temporary data set so the prefix should not come into question anyway, I guess. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: RC=4093 from TSO ALLOC in compiled REXX
Try PGM=IKJEFT01,PARM=compiled program Bob Staffan Tylen wrote: Thanks for the tip but I run both in batch using the same JCL except for the EXEC statement, which either points to IKJEFT01 or to the compiled program. Wrong! SYSPROC is of course changed to STEPLIB also. And the ALLOC is for a temporary data set so the prefix should not come into question anyway, I guess. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html
Re: RC=4093 from TSO ALLOC in compiled REXX
Spot on, Bob. No TSO environment. Thanks. Staffan -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html