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
 

 

how program and screens are related in IMS DC programs

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: how program and screens are related in IMS DC programs
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    Post subject: Reply to: how program and screens are related in IMS DC prog
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    Post subject:
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    Post subject:
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    Post subject: Re: Reply to: how program and screens are related in IMS DC
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
Reply with quote

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

http://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    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Compiling program in endeavor for tra... RALAKKAL Compuware & Other Tools 4 Mon Jun 05, 2017 8:27 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm


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