Expedite Base/400 produces an AVAILABLE record for every message in the mailbox when you use the QUERY command. Each record contains information describing the message. Note that because parameters with blank values do not print, and because some parameters come from the CDH, all of the parameters described below may not be included with every AVAILABLE record.
If you specify CDH(y) for a message or file that has no common data header, the CDH parameters adopt default values. MSGDATE(message date) MSGDATELONG(message date long format) MSGTIME(message time) MSGNAME(message name)
MSGSEQNO(message sequence no)
SYSNAME(system name) SYSLEVEL(system level) DATATYPE(e|b) EDITYPE(EDI type)
SENDERFILE(sender file) SENDERLOC(sender location)
FILEDATE(file date) FILEDATELONG(file date long format) FILETIME(file time) RECFM(record format) RECLEN(record length) RECDLM(c|e|l|n)
DESCRIPTION(description) UNIQUEID(unique ID) CODEPAGE(code page) SYSTYPE(01|10|11|12|14|15|16|17|19|20|21|22|30|31|33|40|44|61|62|71|80|90|91) SYSVER(system version) TRANSLATE(xlate table)
COMSW(compression software name) COMVER(compression software version) COMFILE(name of compressed file);
Parameters
The following parameters are not shown if you specify CDH(n) using the QUERY command:
SYSID
System ID of the user who sent the message. This parameter contains 1 to 3 alphanumeric characters.
ACCOUNT
Account name of the user who sent the message. This parameter contains 1 to 8 alphanu-meric characters.
CODEPAGE COMFILE COMSW COMVER DATATYPE
DESCRIPTION EDITYPE FILEDATE FILETIME RECDLM
RECFM RECLEN SENDERFILE SENDERLOC SYSTYPE
SYSVER TRANSLATE UNIQUEID
OUTMSG response records
MSGKEY
Unique identifier assigned to the message or file by Information Exchange. You can use this value for the MSGKEY parameter of the RECEIVE, RECEIVEEDI, or RECEIVESTREAM commands to receive only a specific message or file. This parameter contains 20 hexadecimal
characters.
CLASS
User class of the data, specified by the sender. This parameter contains 1 to 8 alphanumeric characters.
MODE
Network data class for this data. The sender specified this value. If the file or message is not test mode (indicated by the value T), this parameter is omitted from the record.
LENGTH
Length of the data in the Information Exchange mailbox. The length of the file or message received may be different from the length of the file sent because of reformatting. This parameter contains 1 to 10 numeric characters.
MSGDATE
Date the message was placed into Information Exchange. The format is YYMMDD.
MSGDATELONG
Long format of MSGDATE. The format is YYYYMMDD. The YY value from MSGDATE is inter-preted by Expedite Base/400 as YYYY.
MSGTIME
Time the message was placed into Information Exchange. The format is HHMMSS.
MSGNAME
Name of the message, specified by the sender. This parameter contains 1 to 8 alphanumeric characters.
MSGSEQNO
Sequence number assigned by the sender to specify a message control number for this data.
This parameter contains 1 to 5 alphanumeric characters.
SYSNAME
Name of the system that sent the data. This parameter contains 1 to 8 alphanumeric characters.
SYSLEVEL
Level of the system that sent the data. This parameter contains 1 to 4 alphanumeric characters.
DATATYPE
Indicates whether the data is EBCDIC or binary.
EDITYPE
Types of EDI data available: X12, UCS, UNTDI, EDIFACT, or unformatted. This parameter contains 3 to 11 alphanumeric characters.
e EBCDIC
b Binary
OUTMSG response records
SENDERFILE
File name the data had on the sender's system. This parameter contains 1 to 54 alphanumeric characters.
SENDERLOC
Location of the file on the sender's system. This parameter contains 1 to 65 alphanumeric characters.
FILEDATE
Date of the file on the sender's system. This parameter contains 1 to 6 alphanumeric characters. The format is YYMMDD.
FILEDATELONG
Long format of FILEDATE. The format is YYYYMMDD. The YY value from FILEDATE is inter-preted by Expedite Base/400 as YYYY.
FILETIME
Time of the file on the sender's system. This parameter contains 1 to 6 alphanumeric characters. The format is HHMMSS.
RECFM
Record format of the file on the sender's system. If the record format is not appropriate for the sending machine (for example, if the sending machine is a PC), the value is ????. This parameter contains 1 to 4 alphanumeric characters.
RECLEN
Record length of the file on the sender's system. This parameter contains 1 to 5 numeric characters.
RECDLM
Indicates the method is used to delimit the records.
DESCRIPTION
Free-format description of the data given by the sender. This parameter contains 1 to 79 alphanumeric characters.
UNIQUEID
Random ID assigned to the message by the sending interface. It can help you identify the message and also help you match acknowledgments to the message sent. This parameter contains 8 alphanumeric characters.
CODEPAGE
Code page used by the sending system to determine the character representation of the data.
c CRLF characters delimit the records.
e EDI characters delimit the records.
l 2-byte delimiter precedes each record.
n Either the records have no delimiters, or the CDH does not indicate the type of delimiter.
OUTMSG response records
SYSTYPE
Type of system that sent the data. The codes for the systems are:
This parameter contains 2 hexadecimal digits.
SYSVER
Software version of the system sending the data. This parameter contains 1 numeric character.
TRANSLATE
ASCII-to-EBCDIC translate table used to send this file to Information Exchange. This parameter contains 1 to 8 alphanumeric characters.
COMSW
Name of the software compression package used to compress the file. This parameter contains 10 alphanumeric characters.
01 Unknown system type 10 expEDIte/PC
11 Expedite Base/2
12 Expedite Base for AIX 14 Expedite Base for SCO UNIX 15 Expedite Base/DOS
16 Expedite Base for SCO XENIX 17 Expedite Base for Windows 19 Expedite for Windows 20 expEDIte/MVS Host
21 Expedite Base/MVS
22 Information Exchange File Transfer Protocol
30 Mail Exchange
31 Expedite Base/VM 33 X.400 Gateway 40 Expedite/Direct 44 EDI VAN Interconnect 61 EDI Server
62 IBM Exchange for Websphere MQ 71 Expedite Base/400
80 Expedite/CICS
90 Information Exchange Administration Services 91 Expedite/Async
OUTMSG response records
COMVER
Version of the compression software package used to compress the file. This parameter contains 1 to 5 alphanumeric characters.
COMFILE
Name of the compressed file. This parameters contains 1 to 54 alphanumeric characters.
OUTMSG response records