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

BPXWDYN Return Codes 4066, 4072, etc.


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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

Global Moderator


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

PostPosted: Thu Mar 31, 2005 3:33 am
Reply with quote

Here is a starting point:

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
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
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.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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
No new posts AI writing DFSORT, REXX codes.. All Other Mainframe Topics 3
No new posts COBOL - create and write to output fi... COBOL Programming 0
No new posts DataSet member creation failed with B... Java & MQSeries 15
Search our Forums:

Back to Top