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
 

 

create program table to load with cics

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: create program table to load with cics
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    Post subject: Resource Control Table
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: 2360
Location: Israel

PostPosted: Mon Feb 20, 2006 2:06 am    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    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
No new posts CICS transaction slow response time vasanthz All Other Mainframe Topics 1 Thu Jan 19, 2017 1:31 am
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
No new posts INDEPENDENT CICS TS 4.1 MRO REGION UP... Kyle Carroll CICS 0 Wed Dec 14, 2016 6:55 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am


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