FTP w/CL-Command Transfer from PF

85 pts.
Tags:
AS/400 Workstations
PF
I need to copy a PF containing FTP commands in QCLSRC after the PF has been updated with correct file name. When I CPY using *CVTSRC, it adds SEQ# field, which causes the FTP Input file to not issue the commands correctly. How can I copy a PF into QCLSRC without adding the additional fields? (Only want original PF fields copied to QCLSRC).

Answer Wiki

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

A source Physical file always has 3 fields, SRCSEQ, SRCDAT and SRCDTA. Looks like you will have to CRTPF with only one data field to use as FTP input.

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
  • Oldwood
    I hope I understood your problem correctly. I create members of type = TXT in a source file and use them as FTP input files.
    15 pointsBadges:
    report
  • Splat
    There should be no problem with sequence numbers in a source physical file (PF-SRC) member for FTP commands. I use them regularly and have no trouble. Is there any particular reason you don't write directly to the FTP source physical file?
    7,245 pointsBadges:
    report
  • TomLiotta
    ...which causes the FTP Input file to not issue the commands correctly. This seems to be where your problem is, but you haven't told us the actual problem. You've only told us that you think the Seq# is the cause and asked how to get rid of it. Since you can't get rid of the Seq# column in a source physical file, the actual problem must be something else. Can you tell us the actual problem? What goes wrong when you use FTP? 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