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

how program and screens are related in IMS DC programs


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
naveengec

New User


Joined: 24 Mar 2007
Posts: 35
Location: pune

PostPosted: Sun May 10, 2009 12:31 pm
Reply with quote

Hi,

Please let me know how a program will get triggered when user hits an ENTER in MFS screen. Is there any definition needs to be done in IMS control region when ever a new screen is defined?

My scenario is
User tupes in /FOR modname
a screen gets poped up for customer contact info retrieval
user enters customer number to retrieve customer contact details
How the program to retrieve the customer information is triggered while user enters cust number and hits enter.

Is there any file which keeps track of every screen(map) with the corresponding program to be triggered, if yes kindly share the info.
Back to top
View user's profile Send private message
Sinkaravelan S

New User


Joined: 21 Apr 2008
Posts: 27
Location: coimbatore-TN india

PostPosted: Mon May 18, 2009 4:34 pm
Reply with quote

Hi Naveen,

Please go thru MFS completly afterthat you will be getting more knowledge about your question which you asked here.

note: In design,All the input/output field has designed for your requirement.

Rgds,
Back to top
View user's profile Send private message
t5590ag

Active User


Joined: 21 May 2009
Posts: 139
Location: United States

PostPosted: Fri May 22, 2009 2:46 pm
Reply with quote

hii naveen.

I don hv ne theoretical knowledge but hv wrkd on this stuff..so my simple understanding is that whenever you give the modname(/for modname) to access ur screen, mfs is validated for presence. If found then all the values from screen(if present) are passed to the mid area of mfs else corresponding low values are passed. From here your program as per the name in mfs is invoked and after processing it returns values to mod area of mfs which are then populated on screen.

Though there is a lot to learn in here but let me if it clears ur doubt.

Anybody pls correct me if anything is amiss in myunderstanding. Will be of great help.
Back to top
View user's profile Send private message
naveengec

New User


Joined: 24 Mar 2007
Posts: 35
Location: pune

PostPosted: Thu Oct 22, 2009 1:01 pm
Reply with quote

Hi Guys thanks for the reply.

As t5590ag said, the MFS should have the first MID field as transaction name. But i could see lot of MFS in our shop which doiesnt have any clue regarding which transaction is getting triggered. Thats how this question arised. I beliece there should be some IMS registry entry done when an MFSGEN is executed which will define a transaction which will get triggered when data is populted to this screen and ENTER is pressed.
Back to top
View user's profile Send private message
naveengec

New User


Joined: 24 Mar 2007
Posts: 35
Location: pune

PostPosted: Thu Oct 22, 2009 1:03 pm
Reply with quote

Sinkaravelan S wrote:
Hi Naveen,

Please go thru MFS completly afterthat you will be getting more knowledge about your question which you asked here.

note: In design,All the input/output field has designed for your requirement.

Rgds,


Hi Sinkaravelan, I have gone thru MFS completely, and the book says teh transaction should be defined as the first variable in MID. But it is not the case in my shop. Thats how i ended up posting this question.
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Fri Oct 23, 2009 4:26 pm
Reply with quote

Could you please post the first 10 lines of your MFS.
Back to top
View user's profile Send private message
t5590ag

Active User


Joined: 21 May 2009
Posts: 139
Location: United States

PostPosted: Tue Nov 17, 2009 9:48 pm
Reply with quote

Hi Naveen, i came across the same doubt recently icon_smile.gif as I didnt see the pgm name anywhere in my MFS. Its not required it seems. First 5-6 characters are checked for the MFS-pgm connection I understand. And you will be having certain standards for pgm-MFS nomenclature in your system. For eg. I have MFS ending up with an 'F' or 'M' ..rest of the characters are same as pgm name. Hope this helps.

Also regarding your doubt from where is tran name coming transaction name has to somewhere in the MFS. Pls provide MFS.
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Tue Nov 17, 2009 9:59 pm
Reply with quote

Look for your transaction......it should be very similar to the main program it is invoking.
Back to top
View user's profile Send private message
t5590ag

Active User


Joined: 21 May 2009
Posts: 139
Location: United States

PostPosted: Tue Nov 17, 2009 10:16 pm
Reply with quote

Right. Only a character in the end would differ most of the times.
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


Joined: 13 Jun 2007
Posts: 826
Location: Wilmington, DE

PostPosted: Tue Nov 24, 2009 4:57 pm
Reply with quote

Did you see this post? I was searching for some help for someone else and found this.

ibmmainframes.com/viewtopic.php?t=21045
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 -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts Fetch data from programs execute (dat... DB2 3
Search our Forums:

Back to Top