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 IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 5 Thu Apr 27, 2017 1:15 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts unload data from table with lob columns farhad_evan DB2 0 Sat Apr 22, 2017 1:32 pm


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