Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
how will the application program which mfs maps to use...

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
View previous topic :: :: View next topic  
Author Message
girish_s

New User


Joined: 31 Jul 2007
Posts: 45
Location: india

PostPosted: Thu Aug 02, 2007 9:20 pm    Post subject: how will the application program which mfs maps to use...
Reply with quote

hi all,
I have created a mfs map and an online program in cobol now where in the program do i specify the name of the map?? when using cics and cobol we specify include mapset name in the cobol program similarly i want to know where do i specify the mfs name in the program???
thanks in advance...
Back to top
View user's profile Send private message

rajesh_1183

Active User


Joined: 24 Nov 2005
Posts: 121
Location: Tadepalligudem

PostPosted: Fri Aug 03, 2007 11:18 am    Post subject:
Reply with quote

As you will be mentioning the transaction code in the MFS, the Tran code will automatically invokes the program associated with it. You need to issue GN or GU calls for retreieving the data from the screen. And based on the PF key that was pressed you will code your program as per the requirements...There will not be any commands like include mapset etc....as in CICS...only thing is you will specify the MID and MOD copybooks in the COBOL program. I think it is better that if you go once thru Steve Eckolos book IMS DC for COBOL programmers which gives you some basic idea on how the IMS DC behaves...

Thanks,
Rajesh
Back to top
View user's profile Send private message
girish_s

New User


Joined: 31 Jul 2007
Posts: 45
Location: india

PostPosted: Fri Aug 03, 2007 9:07 pm    Post subject: Re: how will the application program which mfs maps to use..
Reply with quote

hi rajesh,
thanks a lot for the reply.. what did u mean by sayin copy books of mid and mod??? are u refering to the i/o area in the cobol program...???
Back to top
View user's profile Send private message
Sandy Zimmer

Active Member


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

PostPosted: Sat Aug 04, 2007 3:13 am    Post subject:
Reply with quote

Screens are defined in working storage - just like a file would be. They must align with your MFS. An application program may use several screens. When you insert your screen (MFS) to the message que, you must tell it which screen to insert.
As Rajesh said, sometimes it is easier to make the screens copybooks. They will still go in working storage.
Back to top
View user's profile Send private message
girish_s

New User


Joined: 31 Jul 2007
Posts: 45
Location: india

PostPosted: Mon Aug 06, 2007 11:39 am    Post subject:
Reply with quote

hi,
now this really sounds new to me... how do i make the copy books of the screens in the cobol program??? examples plz..
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Tue Aug 07, 2007 1:20 pm    Post subject:
Reply with quote

Quote:
how do i make the copy books

I believe you know how to create copybooks.

Have you coded MFS?
Have you identified MID and MOD fields?
Back to top
View user's profile Send private message
girish_s

New User


Joined: 31 Jul 2007
Posts: 45
Location: india

PostPosted: Tue Aug 07, 2007 2:18 pm    Post subject: Re: how will the application program which mfs maps to use..
Reply with quote

hi devzee,
thanks for the reply... i have coded mfs and also identified the mid and mod fields...now do i have to use copy mapset command as in the case of cics??
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 Aug 07, 2007 5:00 pm    Post subject:
Reply with quote

You are confused between the CICS copy command and COBOL copybooks. Copybooks contain cobol code. They just make it easier when you are using code in multiple programs. If your screens are only used in one program, it is not necessary to make a copybook.
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 The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am
No new posts Calling IKJEFT01 program from Rexx upendrasri CLIST & REXX 8 Wed Nov 15, 2017 4:27 pm
No new posts DFHJSON-TRANSFRM container for WebSer... mbattu CICS 0 Fri Oct 20, 2017 2:18 pm
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us