Export Input File Format: prtexp.prtx

The Export Program reads in one or more records from an input file. These records specify which groups and regions of the specified service are to be dumped (all information associated with the groups and/or regions specified, and complete information on all the items within the group or region, are written to the output file).

The first field in each record in the Export file specifies the command. These commands are described by denoting the literal characters to be placed in the first field of each input file record. Subsequent fields in the record are delimited by a field delimiter character (usually |) which is defined on the very first line of the Export file.

The delimiter, continuation, and comment character specified in prt_export’s input file are the same ones used  to form an output file.

Commands are:

Command Function
ALL Dumps all tracking data.
DSP Prints to the terminal.
GRP Dumps all tracking data in a specified Group.
REG Dumps all tracking data in a specified Region.
SVC Dumps all tracking data for a specified service or services.

ALL

Specifies that everything is to be dumped for all services. This record should be the first (and only) record in the file. If there are any subsequent records in the file, they will be ignored, i.e. processing will terminate upon completion of the complete dump of everything. If the ALL appears after some other record type, it will be ignored.

DSP

Prints out the fields following the DSP field (one field per line). For example:

DSP|Production start for item XYZ

GRP

Specifies the group identifier of a group to be dumped. This record causes all information on all regions and items within the group to be dumped. The format for the record is:

GRP|group_identifier

or

GRP|group_id_1|group_id_2...

The limit on the number of group identifiers that can be specified within a single GRP record is limited by the IDT routines that read and parse the input records. The current limits are 100 fields per record and 1000 characters per record.

REG

Specifies the regions (by region identifier) which are to be dumped. The format is:

REG|region_identifier

Or

REG|region_id_1|region_id_2...

The limit on the number of region identifiers that be specified within a single REG record is limited by the IDT routines that read and parse the input records. The current limits are 100 fields per record and 1000 characters per record.

SVC

Specifies the service ID of the PRT service to be dumped. This record causes all information on all groups, regions, and items within the service to be dumped. The format for the record is:

SVC|service_identifier

Or

SVC|svc_id_1|svc_id_2...

The limit on the number of service identifiers that can be specified within a single SVC record is limited by the IDT routines that read and parse the input records. The current limits are 100 fields per record and 1000 characters per record.