CL – Copy To Import File

pts.
Tags:
CL
CL/400
Copy To Import File
CPYTOIMPF
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.

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi,

You’ll need to concatenate your variable as well. Something like this :-

CPYTOIMPF fromfile(PF) to STMF(‘dir\acp’ || &txtfile)

Regards,

Martin Gilbert.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: