For password-protected data sets, the password(s) are applied
to the destination data set when it is imported. If the data set is transported
as part of a library, it is not necessary to supply the password. If the data
set is transported singly, you must supply the read password. If you omit
the password in the PROC CPORT step, SAS prompts you for the password. If
the target SAS engine does not support passwords, then the import will fail.
For example, the following SAS code transports a password-protected data set
called WORK.ONE:
proc cport data=one(read=hithere) file='bin';
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.