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.