Posted: Thu Jun 23, 2005 4:37 pm Post subject: Rexx routine giving the following errors. Can you help?
Hello everyone, I am new to REXX and need help with a REXX routine for use to monitor my OS-390 DB2 DASD usage. I am having the following errors when I try to execute the REXX program:
(1) ALLOC DD(SYSPRINT) DSN("NULLFILE") SHR REUSE"
>>> "ALLOC DD(SYSPRINT) DSN(NULLFILE) SHR REUSE"
IKJ56228I DATA SET USERID.NULLFILE NOT IN CATALOG OR CATALOG CAN NOT BE ACCESSE +++ RC(12)
IRX0250E System abend code 002, reason code 00000004.
IRX0255E Abend in host command EXECIO or address environment routine TSO
IRX0670E EXECIO error while trying to GET or PUT a record. +++ RC(20) +++
Please let me know if you need additional information. I will be very grateful for any assistance in resolving this problem. If an example is available, that will be very very helpful.
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
Posted: Thu Jun 23, 2005 10:01 pm Post subject:
Okonita,
The 1st error is because TSO is adding your TSO prefix. Treat NULLFILE as a regular data set name (be sure it resolves to being in single quotes). Alternatively, use the DUMMY keyword instead of DSN(NULLFILE). They mean the same thing.
Further information: read up on TSO PREFIX usage in TSO and ISPF. Also, check ALLOC command in TSO regarding DUMMY files.
The RC 16 frim IDCAMS is probably just a side effect of the previous error.
Further information: allocate SYSPRINT to DA(*) instead and read the messages. If this is running in batch, just allocate SYSPRINT to SYSOUT=* directly in the JCL and read the output in SDSF.
RC8 from ERASE and TBSKIP probably is OK. It just means the table doesn't exist and you are at the bottom of the table respectively.
Further Information: ISPF Services Guide
PANEL NOT FOUND: If this is batch, your JCL probably has the wrong libraries allocated to ISPPLIB. If this is foreground, you need to add a LIBDEF for ISPPLIB.
Further info: ISPF Developer's Guide and maybe the ISPF Customization guide
IEC036I could be anything based on the previous errors, but ...
Further information: look up the message id and abend code in the MVS Messages and Codes books
I suspect someone here could help with the exact problems, but these skills are something you will need in almost everything you do in MVS, so I'd strongly suggest learning about them. Once the small stuff like this is understood, using MVS can become rather fun.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum