IBM CDI5UG1107 Computer Accessories User Manual


 
Sending a File 25
EXITCMD(valid i5/OS command) specifies a command to execute only if the copy process is
successful.
FAILCMD(valid i5/OS command) specifies a command to be executed only if the copy process is
not successful.
SNDFFD(*YES|*NO
) specifies whether the sending node transfers file field descriptions.
Use the following formula to determine whether a file is sent with the file field descriptions. If the
bytes required value is greater than 12K, you cannot transfer the file field descriptions.
TEXTFILE(*YES|*NO
) specifies the file being sent is a text file. This keyword is for the i5/OS
only.
TYPE(FILE
|MBR|OBJ) specifies the type of data to be sent. You must define the type of data to be
copied as one of the following:
FILE
specifies that the file being copied is a physical database file.
MBR specifies that the object being copied is a member of a physical database file.
OBJ specifies that the data to be copied is in save file format.
XTRAN(table-name) specifies the translation table to use. The named table object must exist in a
library that is in the library list of the session manager job. If the library name is not in the list, the
CDSND command fails.
If the XTRAN keyword is present, then the following related optional keywords can also be used:
XTRANLSO (so-code) specifies extended translation local shift-out code. This keyword
specifies the hexadecimal code to use for the local (i5/OS side) shift-out (SO) character and
overrides the default value of 0E. You can specify any two valid hexadecimal digits.
XTRANLSI (si-code) specifies extended translation local shift-in code. This keyword specifies
the hexadecimal code to use for the local (i5/OS side) shift-in (SI) character and overrides the
default value of 0F. You can specify any two valid hexadecimal digits.
XTRANLDATA (MIXED
|DBCS) specifies extended translation local data format. This
keyword specifies the format of the data on the local (i5/OS side) of the COPY.
MIXED
indicates that the data can contain both double-byte character set (DBCS) and
single-byte character set (SBCS) characters and that SO/SI characters are used. MIXED is the
default.
XTRANPAD(pc) specifies that padding characters are in use. When DBCS data is translated
from EBCDIC to ASCII, PAD specifies that the SHIFT-OUT and SHIFT-IN characters are
replaced by a pad character to allow the displacement of fields within a record to remain
unchanged during translation.
When DBCS data is translated from ASCII to EBCDIC, PAD specifies that the input ASCII
DBCS file is in a padded format. The character immediately preceding a DBCS character or
string is overlaid by the SHIFT-OUT character. The character immediately following a DBCS
character or string is overlaid with the SHIFT-IN character. This allows the displacement of fields
within a record to remain unchanged during translation.
pc is the pad character to be used during EBCDIC to ASCII translation. pc is ignored for
ASCII to EBCDIC translations.
If XTRANPAD is not used, the SI/SO characters are stripped from the file when transferring
from EBCDIC to ASCII, and added to the records when sending from ASCII to EBCIDC.
12 x number of keys) + (45 x number of fields) +SYSOPTS=bytes required
Note: You cannot use this parameter with the integrated file system.