Usage Note 22656: How can I tell the difference between a transport file created by any of the following: PROC COPY or a DATA step with the XPORT engine; PROC XCOPY or PROC COPY with the SASV5XPT engine; and one created with PROC
CPORT? I didn't get any documentation on how the transport file was made.
You can run the following DATA step:
filename tranfile 'physical_storage_location';
data _null_;
infile tranfile obs=5;
input theline $ascii80. ;
put theline;
run;
Note:
The $ASCII. informat was not available in Release6.04. The following DOS command will be helpful.
c:> type c:\tranfile.dat | more
When you check your
log (or your screen if you are DOS command, above),you will see one of two possible displays. If the first line of the display contains LIBRARY HEADER RECORD, the transport file was made by either PROC
COPY with the XPORT engine (Release 6.06 and higher), PROC COPY with the SASV5XPT engine (Release 6.04), or PROC XCOPY.
HEADER RECORD*******LIBRARY HEADER RECORD!!!!!!!000000000000000000000000000000
SAS SAS SASLIB 6.08 MVS 23JUN95:10:37:32
23JUN95:10:37:32
HEADER RECORD*******MEMBER HEADER RECORD!!!!!!!000000000000000001600000000140
HEADER RECORD*******DSCRPTR HEADER RECORD!!!!!!!000000000000000000000000000000
NOTE: 5 records were read from the infile TRANFILE.
If you see a **COMPRESSED** line, as below, you have been given a transport file created by the CPORT procedure.
**COMPRESSED** **COMPRESSED** **COMPRESSED** **COMPRESSED** **COMPRESSED********
LIB CONTROL MVS::SP4.3.0 SAS6.08::D607WORK::TEMP::VAR COUNT 1::REC COUNT 10::RE
C LEN8::1::SPAN CONTROL -1::120::2::40::NL::120::NAMEI:: :::::::: :::::::::::SPA
N CONTROL 0::8::1::8::NL::8::A:::::SPAN CONTROL 0::8::1::8::NL::8::A ::::SPAN CO
NTROL 0::8::1::8::NL::8::A0::::SPAN CONTROL 0::8::1::8::NL::8::A@::::SPAN CONTRO
NOTE: 5 records were read from the infile TRANFILE.
Operating System and Release Information
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
| Type: | Usage Note |
| Priority: | low |
| Topic: | Data Management ==> Administration ==> Migration
|
| Date Modified: | 2007-11-26 10:24:40 |
| Date Created: | 2002-12-16 10:56:49 |