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

CICS QUERY..NEED THE ANSWER BADLY


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
yashu_mys

New User


Joined: 09 Nov 2003
Posts: 4
Location: India

PostPosted: Thu Feb 19, 2004 12:57 pm
Reply with quote

Hi Everyone ,
This question is bothering me for a while .
In CICS suppose there is a screen it is actually a BMS program
isn't it..?when ever we enter some data in the fields and hit
an enter the back end cobol program is invoked .In the cobol program
the BMS is identified through symbolic map .Now my question is how does
the BMS program or CICS knows which COBOL program to invoke..?Some
people said it is due to the presence of the corresponding symbolic
maps in the corresponding COBOL programs .Now If the symbolic map of
the same BMS map is present in 3-4 COBOL program which COBOL program does the CICS call when the screen of that BMS map is used
Thanks ,
Yashvanth .
Back to top
View user's profile Send private message
mdtendulkar

Active User


Joined: 29 Jul 2003
Posts: 237
Location: USA

PostPosted: Thu Feb 19, 2004 1:40 pm
Reply with quote

Hello yashu_mys,

I think thats why the TRANS ID are there..right?

Regards

Mayuresh Tendulkar
Back to top
View user's profile Send private message
yashu_mys

New User


Joined: 09 Nov 2003
Posts: 4
Location: India

PostPosted: Thu Feb 19, 2004 6:21 pm
Reply with quote

Hi ,
But what is trans-id ..? It invokes a task that has a set of programs associaed with it.What I am asking is how does the every BMS map is associated with the back end COBOL program .Dont say through the symbolic map ...cause there are 3-4 COBOL programs with the same symbolic map then which COBOL programs is called when the BMS map associated with that symbolic map is used .
Thanks ,
Yash .
Back to top
View user's profile Send private message
krbabu

New User


Joined: 20 Feb 2004
Posts: 57

PostPosted: Fri Feb 20, 2004 12:51 pm
Reply with quote

Hi yashu,
that might be due to improper delaration of PCT and PPT table declarations.

Can you again check for the both tables.
Back to top
View user's profile Send private message
harikrishnanrajeev

EXPERT


Joined: 28 Jan 2004
Posts: 37
Location: Trivandrum

PostPosted: Sun Mar 07, 2004 9:50 pm
Reply with quote

Hi Ashvant,

Am giving the answers which i know. Ur question was when a map is triggered say by pressing enter key , how a corresponding cobol prog gets called.... isn't it ..... or how we know which cobol prog has to be called.....

ok i believe the seqeunces we follow in the case of map and trans id creation is

1. Def and install map
2. Def and install program.
3. Def and install transaction.

So here while defining transaction ... in the CEDA panel we have provision for specifying the program name associated. Thus we can give the cobol prog name here....

Then another thing is that the map is invoked first by a

exec cics send map() mapset() end-exec command from cobol

this can be followed by a return statement giving the trans id

ie
exec cics return transid() commarea() end-exec

thus here the program invokes the map by specifying the map name and the return statement from the map will have the transid which helps in retaining the relation between the map and the program.

Any body who find these writings wrong pls respond with corrections.

Thanks and regards

Hari.
Back to top
View user's profile Send private message
michaeldevine

New User


Joined: 29 Sep 2004
Posts: 1

PostPosted: Wed Sep 29, 2004 11:12 am
Reply with quote

hi, correct me if Im wrng, but isnt it a COBOL program that uses the map responsible for collecting the info entered into the map...? so where is the ambiguity ?... the sym map is copied into the prg and the prg sends the map to the scr, and recieves the info...so the prg is always in control of the map !!

mike
Back to top
View user's profile Send private message
chandrasekhar

New User


Joined: 29 Sep 2004
Posts: 35
Location: bangalore

PostPosted: Fri Oct 08, 2004 8:40 pm
Reply with quote

PLZ CORRECT ME IF I AM WRONG

THROUGH A TRANS ID A PROGRAM IS CALLED. THEN PROGRAM IS EXECUTED STEP BY STEP. CONTROL RETURNS WHERE IT COMES.
HENCE AFTER ENTERING DATA IN A MAP CONTROL GOES TO THAT PROGRAM OBVOUSLY
THANKS
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sun Oct 10, 2004 6:49 am
Reply with quote

Hi Yash,

Here's a simpified view of what happens when a map is sent/recvd from a user term.

First off, a Map is not a pgm despite the fact that it is Assembled like a pgm. It contains only data, no executable instructions.

Some of that data is included in each pgm that requires it via a COPY stmt. This COPY data can be used by any number of pgms concurrently

When a map is sent or received the pgm requests the CICS system to execute the sub system responsible for moving data to/from the user terms. Before transferring cntl CICS saves the return address that points to the NSI of the requesting pgm.

When the function is completed CICS uses that address to return cntl to the requesting pgm. From there the pgm continues execution.
Back to top
View user's profile Send private message
srisurya_12

New User


Joined: 19 Jul 2005
Posts: 1

PostPosted: Tue Jul 19, 2005 3:10 pm
Reply with quote

can any body can give me the list of ISPF COMANDS
Back to top
View user's profile Send private message
priya

Moderator


Joined: 24 Jul 2003
Posts: 568
Location: Bangalore

PostPosted: Tue Jul 19, 2005 6:31 pm
Reply with quote

Quote:
can any body can give me the list of ISPF COMANDS


Start a new topic for that...
Back to top
View user's profile Send private message
gowtham_srgp

New User


Joined: 09 Jun 2005
Posts: 38

PostPosted: Fri Aug 12, 2005 12:13 pm
Reply with quote

hai yashu. you are right with the question. your map gets associated with the corresponding program as we enter the definition and installation entries for the program and the map. there won't be any confusions with this. moreover, even if the map is used by more than a program there won't be any logical flaws as it is only my program getting executed.


let me tell you some more info. all the transactions performed in the mainframes environment are almost cics based if i'm right. for example consider the validation of the user-id and the password when you enter the mainframes environment. you interact with a cics map. that's it.

everyday, the cics system by itself or the admin runs the jcl job whose main job step is to load the system tables and programs. only in these tables and programs, we enter the info for registering the program and install it.

hope that i've helped you. corrections are welcomed.......


gowtham
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 -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts RC query -Time column CA Products 3
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
Search our Forums:

Back to Top