copy file from ifs to network share drive

520 pts.
Tags:
CPYTOIMPF

Hi,

I have a clle  program that copies a disk file to the ifs.  What I would rather do,  is copy the disk file to a shared drive that is on the network.   This way,  the person who is requesting the report,  could go directly to their folder on the network,  and open up their requested  csv file

Can anyone help me out with this ? 

 



Software/Hardware used:
V7r1m0, rpgle, clle,

Answer Wiki

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

Discuss This Question: 3  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

    How is copying to "the ifs" different from copying to "a shared drive that is on the network"?

    An IFS directory is "a shared drive that is on the network"... if you create a share for it. That's the same as any other shared directory on any other system in your network.

    Tom

    125,585 pointsBadges:
    report
  • Splat
    You can link to a network server by using the MKDIR command on the iSeries:

    MKDIR DIR('/QNTC/[server name]')

    The server is then visible to the iSeries and files can be copied and/or retrieved, assuming the profile the job is running under has access (the QSYGETPH, QSYRLSPH, and QWTSETP APIs have been of some use).

    Nota bene: the link is not (at least in my experience) persistent & will need to be re-established after each IPL.
    7,655 pointsBadges:
    report
  • TomLiotta
    Many network shares can be accessed through the /QNTC file system. Be aware that the shares will be accessible only through proper authentication, and that can be tricky for programming that has to adapt itself to run as "the person who is requesting the report". -- The
    125,585 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