using CPYTOIMPF with a cl variable

5 pts.
Tags:
CL variables
CPYTOIMPF
IFS
Integrated File System
in using CPYTOIMPF, i have a CL variable (&FILE) and when it creates the file in the IFS, it has the name &FILE and not my actual file name.

Answer Wiki

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

Without see your code we can only guess what the problem is.
From your description, I would say that you have the variable field in quotes like ‘&FILE’
Get rid of the apostrophes(quotes) and it should work fine.

Discuss This Question: 4  Replies

 
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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    I'd suspect that you coded the CPYTOIMPF command incorrectly, but I can't guess how to correct it. Show us how you coded it. Tom
    125,585 pointsBadges:
    report
  • philpl1jb
    I think CharlieBrowne has got it. Phil
    49,425 pointsBadges:
    report
  • TomLiotta
    It's almost certain. Still, it'd be helpful if questions included something solid, eh? Tom
    125,585 pointsBadges:
    report
  • philpl1jb
    Yes, but it's likely to be the best shot we get at helping. Phil
    49,425 pointsBadges:
    report

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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

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

Following