Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Returncode from BPXWDYN not to be found in manual

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: Returncode from BPXWDYN not to be found in manual
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: 2360
Location: Israel

PostPosted: Mon Dec 14, 2009 5:53 pm    Post subject:
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: 7990
Location: Bellevue, IA

PostPosted: Mon Dec 14, 2009 6:33 pm    Post subject:
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    Post subject: Returncode from BPXWDYN not to be found in manual
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: 7990
Location: Bellevue, IA

PostPosted: Mon Dec 14, 2009 7:53 pm    Post subject:
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

Site Director


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

PostPosted: Mon Dec 14, 2009 9:55 pm    Post subject:
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: 401
Location: Mumbai

PostPosted: Tue Dec 15, 2009 9:42 am    Post subject:
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    Post subject: Reply to: Returncode from BPXWDYN not to be found in manual
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: 2429
Location: Netherlands, Amstelveen

PostPosted: Tue Dec 15, 2009 5:35 pm    Post subject: Re: Returncode from BPXWDYN not to be found in manual
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Record Not found in AlX but record re... mukun264 COBOL Programming 0 Fri Mar 24, 2017 9:28 am
No new posts Row not found Sql error GaganGarg DB2 7 Tue Mar 07, 2017 6:29 am
No new posts Query on CICS startup manual roy.x.hu CICS 2 Fri Jul 22, 2016 8:57 pm
This topic is locked: you cannot edit posts or make replies. MEMOAPIX - Searching for a Reference ... Steve Coalbran All Other Mainframe Topics 13 Wed Feb 03, 2016 12:01 pm
No new posts CEE3501S The module DSNHADDR was not ... Sayan Bhattacharyya ABENDS & Debugging 11 Tue Oct 20, 2015 3:53 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us