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

loading a table in cobol


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

New User


Joined: 27 Aug 2008
Posts: 5
Location: nj

PostPosted: Wed Aug 27, 2008 9:13 pm
Reply with quote

what is the simplest and quickest way to load a table?

i know how to add occurrences with a counter that has depending on. i know how to do it with a group move. of course, it can be done with a loop. i think there is another trick to loading a table that is supposedly quick and simple. can anyone tell me what that is.
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: Wed Aug 27, 2008 9:16 pm
Reply with quote

If the table data is fixed, the VALUE clause is the fastest way to load the table since it's done during compile, not run time. Otherwise, loops are most common but maybe not as fast as group moves (but then group moves aren't always possible).
Back to top
View user's profile Send private message
fjmiller11

New User


Joined: 27 Aug 2008
Posts: 5
Location: nj

PostPosted: Wed Aug 27, 2008 9:23 pm
Reply with quote

interesting. thank you.
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 2
No new posts Load new table with Old unload - DB2 DB2 6
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Pulling a fixed number of records fro... DB2 2
Search our Forums:

Back to Top