How to check if a program is online screen or batch



IBM's hierarchical database management system with a Database Manager (IMS DB) and a Transaction Manager(IMS DC)

How to check if a program is online screen or batch

Postby neo4u » Wed May 20, 2015 5:37 pm

Hi,

Is there anyway we could find out if a IMS program is DC or DB. I had to do this for a ~1000 programs so planning to automate it.
I searched a lot but could not found below points
1) If its DC the PSB will have TYPE=TP coded.
--> I cannot use it as in my shop PSB name may be different from program name.
2) By looking at the ENTRY statement in the program, the first PCB will be a I/O PCB.
--> Even this cannot be used, as we have diffent copybooks coded for I/O PCB.
3) Online enquiry by using the command /DISP PGM <pgm_name>. The screen will say "IS INVALID" if the program specified is not a screen program.
--> I could use this approach. But wanted to make sure that this works.

Thanks,
Neo.
neo4u
 
Posts: 8
Joined: Sat Oct 02, 2010 5:52 pm
Has thanked: 0 time
Been thanked: 0 time

Re: How to check if a program is online screen or batch

 

Re: How to check if a program is online screen or batch

Postby BillyBoyo » Wed May 20, 2015 5:42 pm

Usually, by site convention, the name of the program indicates its use. Usually. In my experience, anyway
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: How to check if a program is online screen or batch

Postby neo4u » Wed May 20, 2015 5:54 pm

Hi Billy,

Yes, but not always :) (in my shop atleast!!).
neo4u
 
Posts: 8
Joined: Sat Oct 02, 2010 5:52 pm
Has thanked: 0 time
Been thanked: 0 time


Return to IMS DB/DC

 


  • Related topics
    Replies
    Views
    Last post