The InnovationQ application will be updated on Sunday, May 31st from 10am-noon ET. You may experience brief service interruptions during that time.
Browse Prior Art Database

A method for reading OE information in REXX/MVS

IP.com Disclosure Number: IPCOM000015426D
Original Publication Date: 2002-Apr-15
Included in the Prior Art Database: 2003-Jun-20

Publishing Venue



An application programming technique for MVS (z/OS) is described which solves the problem of executing an Open Edition (Unix) Command within a TSO Batch (in MVS or z/OS) environment and putting the results into a REXX Stem. variable for subsequent processing. TSO and OE provide a program called BPXBATCH which allows OE operations to be issued from within a MVS environment, the results of which are sent to stdout and stdin files. These files reside within the OE HFS system. Consequently, these have to be processed in order to extract the info to be placed within REXX variables. The interesting point is that both stdout and stderr have to be read as some commands write info to either/both destinations. The programming steps are: Stack definitions for stdin, stdout stderr DDnames