Date: Wed, 10 Mar 1999 16:47:57 +0000
Reply-To: Richard.Cook@PRUDENTIAL.CO.UK
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Richard Cooke <Richard.Cook@PRUDENTIAL.CO.UK>
Subject: Uploading & Downloadingdata sets - MVS/ESA w/ SAS 6.09 & Win
Content-Type: text/plain; charset=us-ascii
Bob,
I think that you need to specify the transported dataset name, not the libref,
like so........
libname my 'c:\sas\ftp';
proc contents data =my.temp;
run;
Try that and see what happens.
Cheers,
Richard Cooke
---------------------- Forwarded by Richard Cook/LONDON/Prudential on 03/10/99
03:21 PM ---------------------------
ownersasl0001 [SMTP.ownersa2]@SSW on 03/10/99 02:13:53 PM
To: "DDA.RFC-822=SAS-L@UGA.CC.UGA.EDU/P=Internet/A= /C=us"@SSW
cc:
bcc:
From: ownersasl0001 [SMTP.ownersa2]@SSW
Location: , ,
Extension:
Date: 10 March 1999, 2:13 p.m.
Uploading & Downloadingdata sets - MVS/ESA w/ SAS 6.09 & Win
Hi SASLer's,
i am experiencing all kinds of problems moving files between systems so
for now I'm just taking baby steps. Here is my partial code for creating
the transport file on MVS. I just received the SAS Companion for MVS
Env. but I didn't get much out of it.
//WORK1 DD UNIT=(SYSDA,5),SPACE=(CYL,(900,200))
//TRANSP2 DD DSN=DMSDV.ICMSMODL.TRANSP2,
// DISP=(NEW,CATLG,DELETE),
// UNIT=SYSDA,
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=8000),
// SPACE=(CYL,(10,5),RLSE)
//SYSIN DD DATA,DLM=$$
//SYSIN DD * GENERATED STATEMENT
LIBNAME TRANSP2 XPORT;
NOTE: Libref TRANSP2 was successfully assigned as follows:
Engine: XPORT
Physical Name: DMSDV.ICMSMODL.TRANSP2
DATA TRANSP2.TEMP;
RETAIN J 10;
DO I= 1 TO 10;
J=J+1;
OUTPUT;
END;
RUN;
NOTE: The data set TRANSP2.TEMP has 10 observations and 2 variables.
NOTE: The DATA statement used 0.03 CPU seconds and 1442K.
Next, I download the file using Extra! and set the scheme to binary into
directory c:\sas\ftp. I have also
done this thru binary with FTP. Now comes the fun.
I'll try something like:
libname my 'c:\sas\ftp';
proc contents data =my.transp2;
run;
and get
libname my 'c:\sas\ftp';
NOTE: Libref MY was successfully assigned as follows:
Engine: V612
Physical Name: c:\sas\ftp
568 proc contents data =my.transp2;
ERROR: File MY.TRANSP2.DATA does not exist.
569 run;
NOTE: Statements not processed because of errors noted above.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: The PROCEDURE CONTENTS used 0.05 seconds.
I've also used tried using xport like this
libname my xport 'c:\sas\ftp';
NOTE: Libref MY was successfully assigned as follows:
Engine: XPORT
Physical Name: c:\sas\ftp
602 proc contents data =my.transp2;
ERROR: Invalid file name, c:\sas\ftp.
603 run;
NOTE: Statements not processed because of errors noted above.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: The PROCEDURE CONTENTS used 0.11 seconds.
I'm missing something somewhere. Please help because this is only the
beginning.
The final results will be to automate the process so I can submit
everything from the PC. (Without SAS/Connect) and some of this files are
several meg in size. Examples will especially be appreciated.
Thanks in advance,
Bob Fitzgerald
"WorldSecure Server <prudential.co.uk>" made the following
annotations on 03/10/99 16:50:15
------------------------------------------------------------------------------
[INFO] -- Access Manager:
This email is confidential and should not be used by anyone who is not
the original intended recipient. Prudential cannot accept liability for
statements made which are clearly the sender's own and not made on
behalf of the Prudential. In addition no statement should be construed
as giving investment advice within or outside the United Kingdom.
=============================================================================