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 do I know which MFS defintion goes with which Program?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: How do I know which MFS defintion goes with which Program?
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    Post subject: Re: How do I know which MFS defintion goes with which Progra
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    Post subject:
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    Post subject:
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    Post subject: Re: How do I know which MFS defintion goes with which Progra
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    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 SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
No new posts I can not compile my program PL1 V3.R... Miguel Fernandez PL/I & Assembler 13 Tue Dec 06, 2016 8:30 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm


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