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...
 

File access in IMSDC

THIS IS AN ARCHIVE FORUM: CLICK HERE TO GO TO THE ORIGINAL TOPIC

 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> IMS DB/DC
View previous topic :: View next topic  
Author Message
Jyothsna Reddy



Joined: 05 Aug 2008
Posts: 4
Location: India

Posted: Wed Aug 06, 2008 1:56 pm    Post subject: File access in IMSDC  

Hi
1. I have some sequential files being used in an IMS DC program.Please let me know how to find the physical file names for these.
and also one more question..
2. when i create MFS and DC program, where do i link MFS name with DC program. who does this and when.

Thanks,
Jyothsna
Back to top  
Sandy Zimmer



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

Posted: Wed Aug 06, 2008 7:35 pm    Post subject:  

1.) No - you don't. IMD DC cannot access physical sequential files. They are not defined to the IMS DC regions.

2.) In your MFS, you will see your DC transaction which is defined in an ACB gen.
Back to top  
Jyothsna Reddy



Joined: 05 Aug 2008
Posts: 4
Location: India

Posted: Thu Aug 07, 2008 11:01 am    Post subject:  

Hi Sandy,

I went back to my program and checked it. i have file control statements in my program. see the below

FILE-CONTROL.
SELECT IS01 ASSIGN TO UT-S-K211JUN.
SELECT IS02 ASSIGN TO UT-S-TABJCL01.
SELECT OS01 ASSIGN TO UT-S-INTRDR.

i checked entry statement, its having IO-PCB and ALT-PCB.

Jyothsna
Back to top  
Jyothsna Reddy



Joined: 05 Aug 2008
Posts: 4
Location: India

Posted: Thu Aug 07, 2008 11:03 am    Post subject:  

and also can you please tell me which statement in MFS will contain DC transaction.
Back to top  
Sandy Zimmer



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

Posted: Thu Aug 07, 2008 3:08 pm    Post subject:  

It is not a DC program. Is it a functioning program? Does your installation run BMP?
Back to top  
Jyothsna Reddy



Joined: 05 Aug 2008
Posts: 4
Location: India

Posted: Fri Aug 08, 2008 9:43 am    Post subject:  

Hi Sandy,

My program is having io-pcb and alt-pcb in entry statement. with this i assume its a DC program. pls correct me if ia m wrong.

I am not sure whether BMP run during installation. h ow will i find this?

Please bear with my quesions (if it is too basic)

Thanks,
Jyothsna
Back to top  
Sandy Zimmer



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

Posted: Fri Aug 08, 2008 4:25 pm    Post subject:  

DC (MPP - message processing programs) do not and cannot have physical sequential files - they can only access IMS databases.

Take a look at the PSB. Also, there should be a file cross reference. Or you can search the JCL libraries for those file names and the name of your program. Look at the execute statement - it will tell you if it is BMP.

Even tho your entry statement calls those PCBs IO and ALT does not make it so.
Back to top  
 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> IMS DB/DC
Page 1 of 1
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM