SQL view & FTP of this view

280 pts.
Tags:
AS/400 SQL View
I need to create an SQL view & do FTP of this view. CREATE VIEW palib/reshgjw AS SELECT WJWID as WJWID,char(WPEROD) as WPEROD,char(WCMPNY) as WCMPNY from libname/filename. In my text file, I need a tab b/w each fields. But in the text i got there are no field separators b/w field 1 & field 2. Is there any solution for this?

Software/Hardware used:
AS400
ASKED: May 7, 2012  10:19 AM
UPDATED: June 13, 2013  5:14 PM

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: 1  Reply

 
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 need to create an sql view & do FTP of this view. ... In my text file i need a tab b/w each fields. But in the text i got there are no field seperators b/w field 1 & field 2. FTP does not create TAB-separated columns. You have to generate that yourself. (It could be done with a VIEW.) If you need TAB-separated values, then you should probably use the CPYTOIMPF command rather than a VIEW, and then FTP the streamfile that you create with the command. 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