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

Does NUMBER OFF profile effects the execution of a program


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
pravin madoori

New User


Joined: 29 Jan 2007
Posts: 25
Location: Hyderabad

PostPosted: Mon Dec 29, 2008 11:59 am
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Dec 29, 2008 2:58 pm
Reply with quote

What happened when you tried to find out for yourself, did it work or abend ?
Back to top
View user's profile Send private message
pravin madoori

New User


Joined: 29 Jan 2007
Posts: 25
Location: Hyderabad

PostPosted: Tue Dec 30, 2008 11:54 am
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Dec 30, 2008 9:44 pm
Reply with quote

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
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Wed Dec 31, 2008 7:50 am
Reply with quote

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
View user's profile Send private message
pravin madoori

New User


Joined: 29 Jan 2007
Posts: 25
Location: Hyderabad

PostPosted: Thu Feb 19, 2009 1:59 pm
Reply with quote

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
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Substring number between 2 characters... DFSORT/ICETOOL 2
No new posts Generate random number from range of ... COBOL Programming 3
No new posts Capturing Job Execution Information All Other Mainframe Topics 3
Search our Forums:

Back to Top