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

Steps for designing online screen using IMS DC


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

New User


Joined: 19 Jun 2007
Posts: 12
Location: delhi

PostPosted: Wed Jul 04, 2007 10:18 pm
Reply with quote

Please can anyone help me how to design an online screen. I know how to design screen by using MFS. But my problem is how linking takes place between application program and the MFS. please explain detail.
icon_smile.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Jul 04, 2007 10:24 pm
Reply with quote

Hello,

Please post in the correct forum. . .

This is being moved to IMS.
Back to top
View user's profile Send private message
sanjib234
Currently Banned

New User


Joined: 19 Jun 2007
Posts: 12
Location: delhi

PostPosted: Wed Jul 04, 2007 10:30 pm
Reply with quote

Sorry...... icon_smile.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Jul 04, 2007 11:20 pm
Reply with quote

Not a problem.

You might want to edit your profile and change or delete your "signature" which is currently
Quote:
fsafasfasfsadfasfasfdddddddddd
icon_smile.gif
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


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

PostPosted: Thu Jul 05, 2007 2:53 am
Reply with quote

Unlike CICS, when you compile your IMS program, it does not generate the screen. Sit down with an 80 X 80 screen design format and design the screen. Take into consideration the invisable attribute bytes. Then code your MFS block. Take that MFS block and code "modified" fields in working storage in your program. Make sure they match. Linking takes place thru your transaction and subsequently the gens needed - TRAN, PSB and ACB. This is something that your DBA can help you with. When your transaction is invoked, it invokes your program which you will use to put up any screens associated with your process.
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Thu Jul 05, 2007 10:41 am
Reply with quote

-- Create Online PSB for your online program,
-- In the Online IMS region Define Transaction Id and relate PSB and program, also ACBGEN - This is done by IMS Admin folks.
-- In the MFS - put your transaction code - This will invoke your transaction
Back to top
View user's profile Send private message
sanjib234
Currently Banned

New User


Joined: 19 Jun 2007
Posts: 12
Location: delhi

PostPosted: Thu Jul 05, 2007 3:06 pm
Reply with quote

Still i could not understand.

see...
1. first i design the the MFS by using DIF/DOF and MID and MOD.
2. Then i compiled the MFS.
3. The preogram is also created.
4. Here my question is how will i see the online screen and how will link the program to MFS.

Please somebody explain detail. Otherwise please send some link.
I know the concept but geting problem while implementing i mean MFS is ready and program is ready.....then what need to do?????
icon_smile.gif
Back to top
View user's profile Send private message
cgk_106

New User


Joined: 22 Dec 2006
Posts: 21
Location: chennai

PostPosted: Thu Jul 05, 2007 9:29 pm
Reply with quote

Hi,
Go to the IMS message region , follow the below sequence
1. Start your program
command: /sta [pgmname]
2. Start your transaction
command: /sta [tranname]
3. Start your MFS
command: /for [mod name]

Now you can see your screen in the message region
but make sure that you already created PSB and ACB gens
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


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

PostPosted: Thu Jul 05, 2007 10:33 pm
Reply with quote

This is a difficult concept to grasp. It's like which comes first, the chicken or the egg?

The transaction that is defined (hopefully by your DBA) invokes the process. The transaction is coded in your MFS.
Back to top
View user's profile Send private message
rajesh_1183

Active User


Joined: 24 Nov 2005
Posts: 121
Location: Tadepalligudem

PostPosted: Fri Jul 06, 2007 5:03 pm
Reply with quote

When you enter the command /for modname, the screen which you developed will be appearing on the screen...once you enter the data or you hit a key, the transaction code which you mentioned in the MFS will automatically invokes your program (as the DBA defines the program name for this transaction code, so you have to use the same program name while using this transaction code), so as written in the program for the entered key,the screen will behave.
Back to top
View user's profile Send private message
sanjib234
Currently Banned

New User


Joined: 19 Jun 2007
Posts: 12
Location: delhi

PostPosted: Fri Jul 06, 2007 6:46 pm
Reply with quote

Thnx to all...:-) icon_smile.gif

Can anyone tell how to compile the MFS.
I mean the steps from starting to end for designing an online screen.
Actually i never involved for designing of online screen. But know the concept of IMS DB/DC.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Jul 06, 2007 7:17 pm
Reply with quote

Hello,

Your best source for this type of info is in your organization. People there can tell you exactly what steps are to be used on your system.

People here may post general direction, but the people at your site will know exactly how things are to be done there. Each person working with IMS should not seek out their "own way", but should use the common practices already established.
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Sat Jul 07, 2007 4:17 am
Reply with quote

Quote:
anyone tell how to compile the MFS.

This is called as MFSGEN. Check with your peers to get the JCL for MFSGEN.
Back to top
View user's profile Send private message
sanjib234
Currently Banned

New User


Joined: 19 Jun 2007
Posts: 12
Location: delhi

PostPosted: Sun Jul 08, 2007 5:51 pm
Reply with quote

Thanx alot......
icon_smile.gif
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Mon Jul 09, 2007 1:11 am
Reply with quote

Looking at the original question it's funny to read how much knowledge is thrown at this topic extending the original question icon_wink.gif But.........you all do well icon_exclaim.gif
Back to top
View user's profile Send private message
sanjib234
Currently Banned

New User


Joined: 19 Jun 2007
Posts: 12
Location: delhi

PostPosted: Mon Jul 09, 2007 7:55 pm
Reply with quote

hi Bitneuker,

the question may look u funny...but it is much difficult for me.
Still i have not got my answer. If anyone just explain the steps then it will benefits to me. actually now i m working on IMS DB/DC... but never involved in coding.
icon_smile.gif
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1104
Location: The Netherlands at Hole 19

PostPosted: Mon Jul 09, 2007 8:37 pm
Reply with quote

Quote:
But my problem is how linking takes place between application program and the MFS. please explain detail.


This was your original question and his has been answered. And no....I don't think it's funny icon_wink.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Jul 09, 2007 8:58 pm
Reply with quote

Hello Sanjib,

When this
Quote:
Looking at the original question it's funny to read how much knowledge is thrown at this topic
was posted, it was not referencing humor. Funny in this text was not joking.

One of the biggest difficulties we have is that while the forums are English, there are people with many different primary languages and some things cause confusion.

If you still have a question, please post what you have done so far and what your doubt is and someone here will be able to help. The better detail you post, the better responses you will receive.
Back to top
View user's profile Send private message
Suthagar

New User


Joined: 01 Jul 2005
Posts: 26
Location: Chennai

PostPosted: Mon Jul 09, 2007 9:25 pm
Reply with quote

Hi Sanjib,

You can follow the below steps for the coding and invoking the online program,

1. MFS GEN (By you)
2. DBD GEN (by your DBA)
3. PSB GEN (By you)
4. ACB GEN (By your IMS Admin)
5. Compile your program with the proper online PSB.

Now you can invoke your program with proper transaction ID and test it.

These are all the major steps you need to be followed to create an online program.

Hope it helps you.

Regards,
Suthagar. S
Back to top
View user's profile Send private message
sanjib234
Currently Banned

New User


Joined: 19 Jun 2007
Posts: 12
Location: delhi

PostPosted: Tue Jul 17, 2007 7:45 pm
Reply with quote

Hi suthagar,

thnx for your reply.......could you tell how do create MFS gen, PSB Gen.
How do relate to a MFS to the corresponding application program.

Thnx alot...... icon_biggrin.gif icon_smile.gif
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 CA7 deleting files in steps after job... CA Products 4
No new posts Underscore was not populated to onlin... CICS 1
No new posts Trying to change copybook in online c... CICS 4
No new posts Batch call online program, EXCI task ... CICS 3
No new posts Error while trying to access Online I... CA Products 2
Search our Forums:

Back to Top