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

How do I know which MFS defintion goes with which Program?


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

New User


Joined: 29 Oct 2003
Posts: 2

PostPosted: Wed Oct 29, 2003 1:05 am
Reply with quote

I have been tasked with the great thing of taking a directory of MFS files and matching them to another directory of Cobol Programs. Is there a way to determine this just from these files, or is there something like a PCT table in IMS that I must get the cross reference from, and how if this is the case?
Back to top
View user's profile Send private message
JagBrew

New User


Joined: 29 Oct 2003
Posts: 2

PostPosted: Wed Oct 29, 2003 1:06 am
Reply with quote

JagBrew wrote:
I have been tasked with the great thing of taking a directory of MFS files and matching them to another directory of Cobol Programs. Is there a way to determine this just from these files, or is there something like a PCT table in IMS that I must get the cross reference from, and how if this is the case?
Back to top
View user's profile Send private message
maverick

New User


Joined: 13 Nov 2003
Posts: 2

PostPosted: Thu Nov 13, 2003 10:27 am
Reply with quote

From the MFS you will be able to get the transaction ids .Look for TRANCODE under the MID & MOD sections. Transaction ids are generally created by adding I & O after the program name . So if the transaction id is XXXXI your program name should be XXXX .

If you know a program name and want to know what transaction it uses , look for the SPA section in the program . Alternatively you can use the following operator command '/display program pgm-name' to see what transaction is linked to the program in question.
Back to top
View user's profile Send private message
muthuraamn

New User


Joined: 26 Nov 2003
Posts: 7
Location: chennai

PostPosted: Wed Jun 23, 2004 7:15 pm
Reply with quote

Hi!

Its a very good Question.

The transaction ID, PSB, MFS ID, SPA area and the databases used are defined by the System programmers in the backround ( Control region ). We need to provide these informations to the system programmers.

Regards,
Muthu
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 Jun 14, 2007 1:15 am
Reply with quote

I was not aware that anyone used SPA area anymore? True transaction processing is much faster. The SPA area was used in ancient systems that were basically converted from CICS. Who still uses the SPA area.

Anyway, someone else said look at the MID and the MOD. I once wrote a system where I was allocated 3 transactions for the entire system which consisted of approx 30 DC programs. The main transaction (for example) was HR100 - which linked to the main program HR100 and the MFS HR100. Within that program, I determined where the user wanted to go based on the menu selections in HR100. I then named the programs and HR100A, HR100B, etc. When the program HR100 determined which procedure was selected, it called the corresponding program - statically - dynamic calls were a big NO-NO in the IMS system.
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 EZT program to build a flat file with... All Other Mainframe Topics 9
Search our Forums:

Back to Top