Calling two programs dealing with same Table.

Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

Calling two programs dealing with same Table.

Postby sriraj1122 » Fri Feb 04, 2011 5:57 pm

Hi All,

There is one question asked to me lets say there is PGMA inserting the rows in to TABLEA and PGMB only reading the rows from TABLEB.

Can it be possible to do this ? If yes will it be possible that inserted rows are retreived by PGMB.

Sriraj K
Posts: 19
Joined: Thu Nov 18, 2010 10:04 am
Has thanked: 0 time
Been thanked: 0 time

Re: Calling two programs dealing with same Table.

Postby Robert Sample » Fri Feb 04, 2011 6:14 pm

Since you posted in the COBOL forum, the assumption is you are talking about COBOL program tables (as opposed to DB2 tables for example). The answer to your question is that two programs running independently of one another cannot in any way, shape, style, or form have any impact on the memory used by the other -- and this would include tables in memory.
Robert Sample
Global moderator
Posts: 3686
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 274 times

Return to IBM Cobol


  • Related topics
    Last post