BPXWDYN vs PUTENV.

OS/VS COBOL, COBOL II, Enterprise COBOL for z/OS. OpenCOBOL and OOCobol.
Post Reply
Prakash Jha
Registered Member
Posts: 58
Joined: Sat Jun 29, 2013 1:45 pm
India

BPXWDYN vs PUTENV.

Post by Prakash Jha »

Hi,

Which one of these two BPXWDYN and PUTENV is good? I read about PUTENV like this:

The call using PUTENV is static. You MUST compile the program with NODYNAM compiler option. If you don't then you will have abends like S0C1. The PUTENV by itself is only a stub to the routine in SCEERUN, not a complete module. While BPXWDYN is a well written program which does not have any of the above listed problems.

Does that make BPXWDYN a better choice?
enrico-sorichetti
Global Moderator
Global Moderator
Posts: 826
Joined: Wed Sep 11, 2013 3:57 pm

Re: BPXWDYN vs PUTENV.

Post by enrico-sorichetti »

using BPXWDYN rather than PUTENV should be defined by Your organization standards

/rant on
I dislike names that convey the wrong info
PUTENV hints dealing with environment variables, and MVS has nothing of that name
/rant off
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort 8-)
chaat
New Member
Posts: 5
Joined: Thu Oct 30, 2014 8:12 am

Re: BPXWDYN vs PUTENV.

Post by chaat »

both do the job, it's a matter of your shop standards or if there is no standard, then your personal preference.

it's like asking which is better 6 donuts or a half dozen donuts
Chuck Haatvedt
User avatar
Anuj Dhawan
Founder
Posts: 2801
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

Re: BPXWDYN vs PUTENV.

Post by Anuj Dhawan »

chaat wrote:it's like asking which is better 6 donuts or a half dozen donuts
:D - loved the analogy!
Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Neeraj N
Registered Member
Posts: 54
Joined: Tue Aug 20, 2013 12:49 pm

Re: BPXWDYN vs PUTENV.

Post by Neeraj N »

In my company we use BPXWDYN all the time.
Prakash Jha
Registered Member
Posts: 58
Joined: Sat Jun 29, 2013 1:45 pm
India

Re: BPXWDYN vs PUTENV.

Post by Prakash Jha »

I read most of the documentation in favour of BPXWDYN so got interested if there had been some comparisons between them and someone has a reference to that.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.”