| IBM MAINFRAME HELP & SUPPORT FORUMS Technical Forums for IBM Mainframe Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7&11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
|
| View previous topic :: View next topic |
| Author |
Message |
JagBrew
Joined: 29 Oct 2003
Posts: 2
|
| Posted: Wed Oct 29, 2003 1:05 am Post subject: How do I know which MFS defintion goes with which Program? |
|
|
| 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 |
|
JagBrew
Joined: 29 Oct 2003
Posts: 2
|
| Posted: Wed Oct 29, 2003 1:06 am Post subject: Re: How do I know which MFS defintion goes with which Progra |
|
|
| 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 |
|
maverick
Joined: 13 Nov 2003
Posts: 2
|
| Posted: Thu Nov 13, 2003 10:27 am Post subject: |
|
|
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 |
|
muthuraamn
Joined: 26 Nov 2003
Posts: 7
Location: chennai
|
| Posted: Wed Jun 23, 2004 7:15 pm Post subject: |
|
|
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 |
|
Sandy Zimmer
Joined: 13 Jun 2007
Posts: 443
Location: Wilmington, DE
|
| Posted: Thu Jun 14, 2007 1:15 am Post subject: Re: How do I know which MFS defintion goes with which Progra |
|
|
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 |
|
| |
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM
|