Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

loading a table in cobol

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: loading a table in cobol
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: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Wed Aug 27, 2008 9:16 pm    Post subject:
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    Post subject: loading a table in cobol
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts unload data from table with lob columns farhad_evan DB2 0 Sat Apr 22, 2017 1:32 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us