IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Returncode from BPXWDYN not to be found in manual


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Chessdude

New User


Joined: 28 Apr 2006
Posts: 6
Location: Netherlands

PostPosted: Mon Dec 14, 2009 2:35 pm
Reply with quote

I try to allocate a member in an existing temporary dataset using BPXWDYN in a cobol program. Parameter: ALLOC DD(DSPDEF) DSN('SYS09335.T162656.RA000.Z727S40D.DSPDEF.H01(DATTEST1)') SHR REUSE.
The returncode I get is +86400258 which translates to hex 05265D02.
Looking up the left four digits in 'z/OS MVS Programming: Authorized Assembler Services Guide' gets me nowhere. The errorcodes end with 04FC in table 26-8 and begin with 17zz in table 26-9.
What am I doing wrong?

Best regards,
Peter Wijnand
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Mon Dec 14, 2009 5:53 pm
Reply with quote

Try this link.

O.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8700
Location: Dubuque, Iowa, USA

PostPosted: Mon Dec 14, 2009 6:33 pm
Reply with quote

Can you use BPXWDYN on a permanent data set to verify it is working?
Back to top
View user's profile Send private message
Chessdude

New User


Joined: 28 Apr 2006
Posts: 6
Location: Netherlands

PostPosted: Mon Dec 14, 2009 7:28 pm
Reply with quote

ofer71,

The link is outdated, the same and more information can be found at "z/OS Using REXX and z/OS UNIX System Services" chapter 6.0 "BPXWDYN: a text interface to dynamic allocation and dynamic output". But that manual doesn't help me.

Robert Sample,

BPXWDYN has been tested extensively on permanent datasets.
But the real problem is that the returncode can't be traced to an explanation of the error.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8700
Location: Dubuque, Iowa, USA

PostPosted: Mon Dec 14, 2009 7:53 pm
Reply with quote

Quote:
But the real problem is that the returncode can't be traced to an explanation of the error.
Funny -- I would have thought the problem is getting a non-zero return code on the BPXWDYN; I learn things every day.

If you have, at your site, "tested extensively" the use of BPXWDYN with permanent data sets, I suggest you contact IBM to determine whether or not it is valid to use BPXWDYN on temporary data sets -- and what restrictions there are on doing so.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19243
Location: Inside the Matrix

PostPosted: Mon Dec 14, 2009 9:55 pm
Reply with quote

Hello,

Personally, i believe that having a temporary partitioned dataset is questionable at best. . .

Why is this being done? Possibly yet another "solution" in search of a requirement. . . icon_confused.gif
Back to top
View user's profile Send private message
MBabu

Active User


Joined: 03 Aug 2008
Posts: 400
Location: Mumbai

PostPosted: Tue Dec 15, 2009 9:42 am
Reply with quote

Hi Dick,
What is wrong with temp PDS? People use &&TEMP(MEM) in JCL all the time.
I used to use VIO data sets for performance reasons on very large PDSes (long time ago) and still use them in many tools. They are useful in any tool that can benefit from VIO (compiler based tools, intermediate data formats, etc).
Back to top
View user's profile Send private message
Chessdude

New User


Joined: 28 Apr 2006
Posts: 6
Location: Netherlands

PostPosted: Tue Dec 15, 2009 5:18 pm
Reply with quote

Gentlemen, thanks for all your input, but none of it helped me with my problem. The best I can do now is direct my question directlly to IBM.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Tue Dec 15, 2009 5:35 pm
Reply with quote

Chessdude wrote:

BPXWDYN has been tested extensively on permanent datasets.
But the real problem is that the returncode can't be traced to an explanation of the error.


Whas that extensivily testing in cobol programs?
Did you test it in Rexx ?
Are there any log messages?
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Mark Previous & next lines when a... DFSORT/ICETOOL 9
No new posts How I Found a Bug in a FORTRAN Compiler All Other Mainframe Topics 4
No new posts A directory in the pathname was not f... ABENDS & Debugging 0
No new posts I need a 4 lines block where substrin... DFSORT/ICETOOL 12
No new posts COBOL - create and write to output fi... COBOL Programming 0
Search our Forums:


Back to Top