View previous topic :: View next topic
|
Author |
Message |
fawzy47 Currently Banned New User
Joined: 22 Oct 2005 Posts: 42
|
|
|
|
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 |
|
|
fawzy47 Currently Banned New User
Joined: 22 Oct 2005 Posts: 42
|
|
|
|
Hello every one,
any idea about entries in RCT(Resource control table
Thank you |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
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 |
|
|
fawzy47 Currently Banned New User
Joined: 22 Oct 2005 Posts: 42
|
|
|
|
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 |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
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 |
|
|
fawzy47 Currently Banned New User
Joined: 22 Oct 2005 Posts: 42
|
|
|
|
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 |
|
|
|