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 Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts Asynchronous CICS Processing Question moezbud CICS 0 Mon Mar 06, 2017 6:13 pm
No new posts CICS Question RE: Browse, Readnext an... moezbud CICS 7 Sun Mar 05, 2017 5:45 am
No new posts how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm


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