Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
BPXWDYN Return Codes 4066, 4072, etc.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
sureshgreetsu1

New User


Joined: 14 Mar 2005
Posts: 2
Location: chennai

PostPosted: Wed Mar 30, 2005 3:14 pm    Post subject: BPXWDYN Return Codes 4066, 4072, etc.
Reply with quote

I am trying to allocate a dataset dynamically using the BPXWDYN routine, but I am getting return codes like 3673, 4065, 4066, 4072, and 4075.

Can anybody tell me, what do these return codes mean or suggest a reference?
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Thu Mar 31, 2005 3:33 am    Post subject: Re: BPXWDYN Return Codes 4066, 4072, etc.
Reply with quote

Here is a starting point:

ftp://ftp.software.ibm.com/s390/zos/tools/bpxwdyn/bpxwdyn.html
Back to top
View user's profile Send private message
sureshgreetsu1

New User


Joined: 14 Mar 2005
Posts: 2
Location: chennai

PostPosted: Thu Mar 31, 2005 9:56 am    Post subject: Re: BPXWDYN Return Codes 4066, 4072, etc.
Reply with quote

thanks for ur response Mr. superk.

i already had this reference, but iam unable to find what these return codes all about. iam allocating a data set which is already existed (created by jcl) . when the first time i tried this the data set is allocated with my requirements but got MAXCC 3673, but then onwards iam getting MAXCC 4075,4066 ..., iam not able to allocate the data set any more.
is that because of reveiwed language environmental RACF autherization or some file mismatches.
Back to top
View user's profile Send private message
Cathy Taddei

New User


Joined: 03 May 2006
Posts: 1

PostPosted: Wed May 03, 2006 4:51 am    Post subject: Re: BPXWDYN Return Codes 4066, 4072, etc.
Reply with quote

I just spent several frustrating hours with return codes 4075, 4063, 4067, etc. (calling BPXWDYN from REXX in batch). The variable Result would contain values such as -25, -27, etc. but variables S99MSG.0 and S99MSG.1 were not initialized, which clued me in to the fact that these were not dynamic allocation return codes. It turns out I had syntax errors in my BPXWDYN call statement -- the format is not the same as TSO ALLOC, although it looks very similar. For example, SPACE(1 1) is acceptable to TSO, but for BPXWDYN it must have a comma between the primary and secondary values. Follow the link posted by superk:

ftp://ftp.software.ibm.com/s390/zos/tools/bpxwdyn/bpxwdyn.html

it has the correct syntax.

I know this is a year too late for the original question, but I thought I'd post this for the next person who has this problem.

Regards,
Cathy
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Return a Non Numeric value from REXX Learncoholic CLIST & REXX 3 Fri Sep 01, 2017 8:33 pm
No new posts EXIT or RETURN cvnlynn CLIST & REXX 18 Wed Jul 19, 2017 2:50 am
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
No new posts QUESTION: RETURN CHANNEL pahiker CA Products 21 Thu Apr 20, 2017 12:31 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us