View previous topic :: View next topic
|
Author |
Message |
pravin madoori
New User
Joined: 29 Jan 2007 Posts: 25 Location: Hyderabad
|
|
|
|
Hello,
I have a source library for PLI programs which has 'NUMBER off' profile. However I see sequence numbers [ from col 72 to 80]. Due to the number of changes to done to programs & NUm OFF profile, those sequence numbers are out of sequece.
Does this effect the execution flow of program.
If Num Off is in profile, Do I need to clear the content of col 72 to col80.
Appreciate If any one can explain how compiler/interpreter will consider these sequence numbers. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
What happened when you tried to find out for yourself, did it work or abend ? |
|
Back to top |
|
|
pravin madoori
New User
Joined: 29 Jan 2007 Posts: 25 Location: Hyderabad
|
|
|
|
I did not get any compiler errors. My testing also went on fine, however I want to confirm that this will not cause any abnormal behaviour in production.
There was a differenct situation , where i left some characters in sequence area & program is behaving abnormally sometimes in production. example is below[ */ is in column 73]:
--+----5----+----6----+----7----+--
*/
Will compiler/interpreter takes the character present after col72 into consideration?
Appreciate the clarification |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Curiosity: have you checked the PL/I Programming Guide, compiler option MARGINS, to see what it says? How does that compare to how your compiler options are set? |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
I recommend you move any non-sequence number characters to the 1-72 column range. Then either remove all sequence numbers or turn NUMS ON.
Why continue to worry if there is some unforeseen consequences when you can easily fix it? |
|
Back to top |
|
|
pravin madoori
New User
Joined: 29 Jan 2007 Posts: 25 Location: Hyderabad
|
|
|
|
I have looked in manual for MARGINs options. It helped me.
However I saw one more compiler option used SEQUENCE(73,80). I don't see anything about this option in manual which I found on ibmmainframes.com.
Pedro & Robert thanks for your valuable feedback. |
|
Back to top |
|
|
|