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.
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: