I am trying to use BPXWDYN to do a dynamic allocation from REXX under 
IRXJCL. I am getting a RC 20. How can I find out the actual problem? Is there 
any way to see S99ERROR and S99INFO?

Here is the statement:

IF BPXWDYN("ALLOC DD(OUT) DA('WORK.TAPE') NEW KEEP UNIT(TAPE) 
REUSE") ¬= 0
  THEN
    DO
      SAY "Allocation failed RC =" RC
      EXIT 8
    END

Thanks,
Neal

----------------------------------------------------------------------
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

Reply via email to