Hello,
I am getting below Warning message when i use PROC COPY for XPT to SAS7BDAT for entire XPT files folder
"WARNING : Labels exceeding length 40 are not supported by engine XPORT and are being truncated "

But in My data set there no labels and i am using below code.
/*Loop through all datasets within the directory.*/
%do Xpt2Lib_i=1 %to &Xpt2Lib_n.;
data _null_;
set &Xpt2Lib_templib..XPTFILES;
where "&&Xpt2Lib_ds_&Xpt2Lib_i." eq strip(dataset);
call symput('Xpt2Lib_dataset',DATASET);
call symput('Xpt2Lib_xpt',FILENAME);
run;
%let Xpt2Lib_dataset=&Xpt2Lib_dataset.;
%let Xpt2Lib_xpt=&Xpt2Lib_xpt.;
/*Copy from XPT format.*/
libname XPTLIB xport "&Xpt2Lib_xpt.";
proc copy in=XPTLIB out=&libOut. memtype=data;
run;
libname XPTLIB clear;