Skip to main content

REXX error when trying to attach a large number of files using WAI


Technote (troubleshooting)


Problem(Abstract)

Receiving a REXX error when attaching files to an InfoMan record using Web Access for Information Management for z/OS (WAI)

Symptom

Check the HTTPD Error log file for the following error:

95 *-* ADDRESS LINKMVS 'IMWXRD body'
17/Jan/2008:10:20:58 +0500 +++ RC(-2) +++

Cause

limitation of the interface being used by the IMWXRD program.

Resolving the problem

The RC(-2) error is due to a limitation of the interface being used by the IMWXRD program.

Basically, no MVS type parameter can pass a value bigger than 32767.
The RC(-2) is documented in the "TSO/E REXX Reference" (SA22-7790-05) Chapter 2 under the heading "Host Command Environments for Linking to and Attaching Programs".

IMWXRD can be changed. This issue was resolved by changing the REXX exec that is using IMWXRD to retrieve 32K at a time and then reassemble the 32K segments. There is an example in the BLQ.V1R2M0.ABLMREXX(BLQWRPFA) sample.


Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Tivoli Web Access for Information Management


Software version:
1.2


Operating system(s):
z/OS


Reference #:
1297598


Modified date:
2013-03-19

Translate my page

Content navigation