I am trying to use the Dataconnector operator in TPT to read a sequential file (on MVS). The code to describe the operator is as follows: DEFINE OPERATOR FILE_READER TYPE DATACONNECTOR PRODUCER SCHEMA DEBTDELTA ATTRIBUTES ( VARCHAR FILENAME = 'DDELTA', VARCHAR DIRECTORYPATH = '', VARCHAR OPENMODE = 'READ', VARCHAR FORMAT = 'UNFORMATTED' );
However I get the following error when try to run: FILE_READER: Unanticipated function failure. Function name is 'getcwd'. Function return code is '0'. Operator(DCONOP) instance(1): INITIATE method failed with status = Fatal Error
However, if I try and read the same data stored in a PDS member, and using the DirectoryPath attribute to specify the PDS name, it works.
I'd recommend opening an incident with NCR. Users shouldn't be receiving messsages about 'getcwd' function call failures, regardless of whether the DirectoryPath attribute is populated or needs to be ...