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

Multiple Value declaration in cobol for variable


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Jun 17, 2011 7:51 pm
Reply with quote

And to have everyone else maintain them forever. . .

d
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Fri Jun 17, 2011 9:42 pm
Reply with quote

Also, out of 3 places coded with literals in procedure, only two of them with all the same literals...
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Sat Jun 18, 2011 4:15 pm
Reply with quote

ON 1
AND EVERY 20
UNTIL 10000

Used to be part of our test data extract from the Agency Master File. Plus the first-time for all our called modules. This might look similar to a PERFORM loop, but there is no looping involved, just a serial counting process as the CPU flies through the program.

An interesting thing, if you used ON more than once in a program it would keep a seperate count for each statement.

Like Don says, nothing to define, nothing to set, nothing to remember - except the full-stop/period. You think something is simple to use, and then someone shows you how to mess it up.
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
Search our Forums:

Back to Top