Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Is there a z/OS PL/1 Compiler Option that initializes un-initialized program variables - automatically?

I have a PL/1 program, executing on two different mainframes, each using the z/OS PL/1 compiler: V3.R9.M0. On one mainframe, uninitalized variables are written out with LOW_VALUES in the written record. On the other mainframe, the SAME program, with the same copybooks, is writing out that records with "garbage" in the program-uninitialized variables, causing a S0C7 ABEND.... The compiler options on both mainframes are fairly different. I am trying to hone-in on a particular compiler option that may be responsible for this variance.

Anyone know of such a compiler option that would cause this conundrum?

Rich S.

0 votes


Be the first one to answer this question!

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Apr 04 '14, 2:26 p.m.

Question was seen: 5,018 times

Last updated: Apr 04 '14, 2:26 p.m.

Confirmation Cancel Confirm