CA IDEAL command D PCT allows to display all CICS transactions in a CA IDEAL environment.
Can I run this same command in batch?
Unfortunately this D PCT command is an online command only.
There is no way to run this in batch.
See the online documentation here in DocOps: