QEXECSQL command source

5 pts.
Tags:
CSV
OS/400
Hello,

I am trying to implement a command ZCPYTOCSV. THis command uses ZFFDTOCSV and ZEXECSQL commands. I have the source of ZFFDTOCSV but cannot find the source for command ZEXECSQL. If anyone has access to this - could you please let me know.

Alternatively is there is another better utility for copying Database file to CSV then please let me know.

regards

Pat Clarke



Software/Hardware used:
OS/400 M25
ASKED: April 3, 2012  9:37 AM
UPDATED: May 27, 2012  2:40 AM

Answer Wiki

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

Clarke use the command prompt to ask for what command is use for (Accessed through run than typein cmd). i.e. the commant XCOPY is used for coping network file and if you just want to copy an item use COPY \ ##(# is the item name).

Discuss This Question: 2  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
    First, the question is tagged with "OS/400 M25". Can you explain what that means? What version is your OS? Second, is there a reason not to use the standard CPYTOIMPF command to create .CSV output? If CPYTOIMPF is out of the question for some reason, it can often be possible to use the Qshell db2 utility to manufacture .CSV output as desired. Do you have a reasonably current version of Qshell installed? (Should be at least V5R2 with decent PTFs.) Finally, I don't have source for ZEXECSQL, but a replacement should be fairly easy to create. Can you prompt the command and show its parms? Tom
    125,585 pointsBadges:
    report
  • TomLiotta
    Sorry ... "M25" is probably the hardware model. Never mind that part, though the OS version may still be helpful. Tom
    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