ERROR: "XCOMM0104E INVALID DATA RECEIVED - EXPECTING MEMBER NAME"
search cancel

ERROR: "XCOMM0104E INVALID DATA RECEIVED - EXPECTING MEMBER NAME"

book

Article ID: 26334

calendar_today

Updated On:

Products

XCOM Data Transport XCOM Data Transport - Windows XCOM Data Transport - Linux PC XCOM Data Transport - z/OS

Issue/Introduction

What does the message XCOMM0104E INVALID DATA RECEIVED - EXPECTING MEMBER NAME mean? It's not in the messages manual. Is it affected by the REPCR parameter?

This document explains what XCOMM0104E INVALID DATA RECEIVED - EXPECTING MEMBER NAME, means and how to resolve it.

Environment

XCOM™ Data Transport® for z/OS
XCOM™ Data Transport® for Windows
XCOM™ Data Transport® for UNIX/Linux PC

Cause

With REPCR=YES in the XCOMDFLT table or config member, this message may occur.  With REPCR=NO, this message goes away.

The addition of the REPCR parameter was a r11 SP01 enhancement allowing you to specify whether XCOM Data Transport should attempt to CREATE the dataset instead of failing the transfer when the dataset did not exist and REPLACE or ADD was specified for the transfer.

Previously, when sending a file to XCOM for z/OS and specifying FILEOPT=REPLACE or FILEOPT=ADD and the dataset did not exist, the transfer failed with XCOMM0669E DATASET NOT FOUND IN CATALOG. The new parameter REPCR specifies whether XCOM Data Transport should attempt to CREATE the dataset instead of failing the transfer. When set to NO, XCOM will work as before. When set to YES, XCOM will attempt to create the dataset. The REPCR default parameter can be specified in the XCOMDFLT table or config member or specified as an XCOMJOB or XCOMXFER EXEC parameter.

Resolution

If you want to use REPCR=YES, you will need to specify the parameters needed to create the file on z/OS IN CASE the file does not exist. This is needed only if you are doing a RECEIVE from a non-z/OS partner like Windows or UNIX, because they do not have DCB information on their system. If you are receiving from another z/OS partner, XCOM will use the DCB info of the originating file if it isn't specified in the SYSIN01 parameters.

In other words, to use the REPCR=YES with REPLACE, you will need to specify the required SPACE and DCB info as if you are doing a CREATE. This is due to the fact that the REPLACE will get changed to a CREATE if the target file does not exist.

Specify DCB and SPACE parameters for REPLACE transfers if REPCR=YES is set in the XCOMDFLT table in case the target file does not exist and it gets changed to a CREATE. This is required only if the file is being RECEIVED from a non-MVS partner.