You're (much, IMO) better off using IWMDxxxx than fussing around with ISPF in batch. IWMDxxxx were the intended APIs zWLM development put in place for exactly this purpose in MVS/ESA 5.1.0 (yes, >20 years ago).
The WLM ISPF dialogs were never intended to be an API. You could almost certainly get them to work in batch (for some value of working), but you'll be much more vulnerable to changes breaking you ... since it's not an intended A*P*I. Trying for WLM ISPF in batch is trying to teach a tadpole to sing Madame Butterfly, to bend a common saying, with pretty much the same result. The only real issue with IWMDxxxx functionally is writing the de/serializer. If you use an access method that lets you own the order of bits inside your dataset (USS binary file?), that could be "not so bad". Maybe be community-friendly and put it on GitHub/similar with a license your own company would be comfortable consuming, if you think others would like the same. John Arwe [ former zWLM head cook & bottle washer in a previous life, experienced running ISPF in batch, original perpetrator of zWLM "dump to GML" implementation, ] ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN