0 pts.
 CL – Copy To Import File
I am using the CPYTOIMPF fromfile(PF) to STMF('diracp&txtfile') where &txtfile is &curdt *tcat &curtm.(system date and time) The stream file is created as acp&txtfile and what i want is acp120108100150.

Software/Hardware used:
ASKED: December 1, 2008  10:13 AM
UPDATED: December 1, 2008  1:31 PM

Answer Wiki:
Hi, You'll need to concatenate your variable as well. Something like this :- CPYTOIMPF fromfile(PF) to STMF('diracp' || &txtfile) Regards, Martin Gilbert.
Last Wiki Answer Submitted:  December 1, 2008  10:27 am  by  Gilly400   23,625 pts.
All Answer Wiki Contributors:  Gilly400   23,625 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _