What release of z/OS is your program actually executing on? The list requests you are failing on are supported on z/OS 1.11+ only.
My program, which does something similar to what yours does, works on 1.10, but returns a 301 when I try the 1.11+ only features. Dave Quinton State of North Carolina Administrative Office of the Courts 919-890-2301 [email protected] -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Bytnerowicz, Krzysztof Sent: Tuesday, July 13, 2010 3:41 AM To: [email protected] Subject: BCPii return code x'301' I am testing BCPii interfaces in Assembler. As I stumbled on something I do not understand, I created the simplified code illustrating my problem. The logic is as follows: - HWICONN -connect to local CPC, CPC netid is known, it connects OK. - HWILIST - List Images, lists all the images known. - Change list request from HWI_LIST_IMAGES (x'02') to HWI_LIST_RESET_ACTPROF (x'07') at the address pointed to in the same table used for listing images. HWILIST returns RC x'301' indicating that "The ListType specified is not in the acceptable value range of possible list types." I am using values defined in HWICIASM Macro. I am repeating the exercise for HWI_LIST_IMAGE_ACTPROF then HWI_LIST_LOAD_ACTPROF, all the values are consistent with the Macro definitions and the results are exactly the same. I am maintaining CPC connection, as those objects are CPC-owned objects. I am aware of OA32889 and I verified that my values are the ones specifies as correct in my code and in the Macro expansion. What am I missing? ---------------------------------------------------------------------- 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 E-mail correspondence to and from this address may be subject to the North Carolina public records laws and if so, may be disclosed. ---------------------------------------------------------------------- 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

