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

create program table to load with cics


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

New User


Joined: 22 Oct 2005
Posts: 42

PostPosted: Mon Feb 20, 2006 12:50 am
Reply with quote

Hi every one,
does any body know how can you create a table using a cobol program, then you load it using exec cics load program('bbb') ......end-exec
Back to top
View user's profile Send private message
fawzy47
Currently Banned

New User


Joined: 22 Oct 2005
Posts: 42

PostPosted: Mon Feb 20, 2006 12:52 am
Reply with quote

Hello every one,
any idea about entries in RCT(Resource control table
Thank you
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Mon Feb 20, 2006 2:06 am
Reply with quote

The EXEC CICS LOAD command loads a program into main storage. It has nothing to do with loading tables (DB2 ?), and it well documented in the fine manual.

By the way - there are ways to create DB2 tables from within COBOL program, but this is a different story.

The RCT defines the communications between CICS and DB2. You can read all about it in the fine manual.

O.
Back to top
View user's profile Send private message
fawzy47
Currently Banned

New User


Joined: 22 Oct 2005
Posts: 42

PostPosted: Mon Feb 20, 2006 5:10 am
Reply with quote

ok, I meant table cobol table not db2 table that table is defined by the OCCURS claus, I know THE RESOURCE TABLE HAS TO HAS THE PLAN NAME, BUT ASSOCIATED WITH WHAT
THANKS
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Mon Feb 20, 2006 7:33 am
Reply with quote

Hi Fawzy,

It's been a while, but I seem to recall that a data table loaded by the CICS LOAD cmd must be created as an Assembler Language module w/o executable code. Then it is assembled and linked into a CICS loadlib similar to the way maps are handled. From there the LOAD cmd loads it into memory.

It generally is only loaded once and accessed by the xactions using the region. I don't remember how the table is found after the 1st load.

Check the CICS manuals on this site. I'm sure you'll find sommething on it.
Back to top
View user's profile Send private message
fawzy47
Currently Banned

New User


Joined: 22 Oct 2005
Posts: 42

PostPosted: Mon Feb 20, 2006 9:17 am
Reply with quote

Thank you
The program has to be in PPT, So, it can be found, your answer is very helpful, however I hate reading manuals
Fawzy
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 Using API Gateway from CICS program CICS 0
No new posts Load new table with Old unload - DB2 DB2 6
No new posts Pulling a fixed number of records fro... DB2 2
No new posts How to load to DB2 with column level ... DB2 6
No new posts How to create a list of SAR jobs with... CA Products 3
Search our Forums:

Back to Top