|
Hi
Because of the release level that you are on, you will need to create/use
a separate utility to do what you want
Try the following web site
TechTip: Add Column Headings to Your Export Files | CL | Programming -
Other | Programming (mcpressonline.com)<
https://www.mcpressonline.com/programming-other/cl/techtip-add-column-headings-to-your-export-files
Or do a google search for RTVCOLHDG
Alan Shore
Solutions Architect
IT Supply Chain Execution
[NHScsignaturelogo]
60 Orville Drive
Bohemia, NY 11716
Phone [O] : (631) 200-5019
Phone [C] : (631) 880-8640
E-mail : ASHORE@xxxxxxxxxxxxxxxxxxxx
‘If you're going through hell, keep going.’
Winston Churchill
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf
Of jerry ven
Sent: Wednesday, March 23, 2022 11:06 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: [EXTERNAL] Re: Can we FTP a CSVF file to local desktop in good
format
it's a CSV file which is located at some path(IFS PATH '/../') i was able
to download it as mentioned earlier using these FTP steps*
https://www.ibm.com/support/pages/ftp-ascii-file-members-between-pc-and-os400
<
https://www.ibm.com/support/pages/ftp-ascii-file-members-between-pc-and-os400
<
https://www.ibm.com/support/pages/ftp-ascii-file-members-between-pc-and-os400
<
https://www.ibm.com/support/pages/ftp-ascii-file-members-between-pc-and-os400
*
But unable to download it with full text in the column headings (which is
present in the base physical file from which his CPYTOIMPF gave output in a
csv file format which is present at IFS location.
So Now what could be done to put full column headings on this CSV file
which is downloaded following FTP steps mentioned on above link ( i just
changed as mentioned earlier TOSTMF parameter to IFS path where that CSV
file is located as mentioned in my previous post)
Thanks.
On Wed, 23 Mar 2022 at 20:25, Javier Sanchez <
javiersanchezbarquero@xxxxxxxxx<mailto:javiersanchezbarquero@xxxxxxxxx>>
wrote:
Jerry, this is still very confusing.physical
Your data file source is or is not a physical file? Is it on the IFS?
CPYTOIMPF is not a mandatory command to use if you have data in a
file, or a source physical file.necessary.
If it is a physical source file with only one member (because physical
files may have more than one member), then what I just gave you should
work. BTW in those instructions I forgot to mention that if it is a
physical file with only one member, the member parameter is not
jerryven95@xxxxxxxxx>>)
Please do that and let us know how you did.
El mié, 23 mar 2022 a las 8:46, jerry ven (<jerryven95@xxxxxxxxx<mailto:
escribió:CCSID
i was able to download this IFS file using ASCII ( as checked it's
https://www.ibm.com/support/pages/ftp-ascii-file-members-between-pc-and-os400was 37) and by mentioning in TOSTMF parameter (in CPYTOIMPF command)
complete IFS Path but unable to download it *(* by following same FTP
steps in this link
*
<
https://www.ibm.com/support/pages/ftp-ascii-file-members-between-pc-and-os400
https://www.ibm.com/support/pages/ftp-ascii-file-members-between-pc-and-os400
<
<
https://www.ibm.com/support/pages/ftp-ascii-file-members-between-pc-and-os400
IFS
* just made one change in this command as per my requirement instead of
mentioning source file ,library and member name i just gave complete
wrote:path for that CSV file in TOSTMF parameter of CPYTOIMPF command *)*
with column headings so to download it along with column headings what
could be done here?
Thanks.
On Wed, 23 Mar 2022 at 19:56, Javier Sanchez <
javiersanchezbarquero@xxxxxxxxx<mailto:javiersanchezbarquero@xxxxxxxxx>>
path?
Jerry, why don¡t you rather try this download with a simple QSYS
and
This should look like this after invoking FTP:
OPEN you_ibm_i_name_or _ip_address
Type in your user name
Type in your password
GET (hit enter to be prompted)
Remote filename: YOURLIB/YOURFILE.YOURMEMBER
Local filename: your_local_file_name_as_you_name_it.your ext
Then inspect your contents. If it looks like garbage, then, repeat
<mailto:jerryven95@xxxxxxxxx>>)before issuing the GET command above, issue a BIN command first.
Then follow on with the GET.
Try this and let us know.
Javier
El mié, 23 mar 2022 a las 8:18, jerry ven (<jerryven95@xxxxxxxxx
Pathescribió:gave
I simply meant to say for TOSTMF WITH IFS file location here i just
example in actual CPYTOIMPF command i am using '/IFS PATH' ( IFS
here.means
i am giving exact IFS location of that CSV file)
So not sure how can i download it with complete column headings
<mailto:poc@xxxxxxxxxx>>
Thanks.
On Wed, 23 Mar 2022 at 19:13, Patrik Schindler <poc@xxxxxxxxxx
wrote:<mailto:jerryven95@xxxxxxxxx>>:
Hello Jerry,
Am 23.03.2022 um 13:36 schrieb jerry ven <jerryven95@xxxxxxxxx
with
TOSTMF('IFS PTH/desiredfile.csv')
To be completely unambiguous, an IFS path should always start
aMIDRANGE-L@xxxxxxxxxxxxxxxxxx>
/.others.
Otherwise, please more information, as asked by me, Vern, and
mailing
:wq! PoC
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx<mailto:
https://lists.midrange.com/mailman/listinfo/midrange-l>To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l<
MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx>or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx<mailto:
https://archive.midrange.com/midrange-l>.Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l<
support@xxxxxxxxxxxxxxxxxxxx> for any subscription
Please contact support@xxxxxxxxxxxxxxxxxxxx<mailto:
MIDRANGE-L@xxxxxxxxxxxxxxxxxx>mailingrelatedaffiliate
questions.
Help support midrange.com by shopping at amazon.com with our
link: https://amazon.midrange.com<https://amazon.midrange.com>--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx<mailto:
https://lists.midrange.com/mailman/listinfo/midrange-l>To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l<
MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx>or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx<mailto:
https://archive.midrange.com/midrange-l>.Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l<
support@xxxxxxxxxxxxxxxxxxxx> for any subscription
Please contact support@xxxxxxxxxxxxxxxxxxxx<mailto:
mailingrelatedaffiliate
questions.
Help support midrange.com by shopping at amazon.com with our
link: https://amazon.midrange.com<https://amazon.midrange.com>--
This is the Midrange Systems Technical Discussion (MIDRANGE-L)
MIDRANGE-L@xxxxxxxxxxxxxxxxxx>list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx<mailto:
https://lists.midrange.com/mailman/listinfo/midrange-l>To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l<
MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx>or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx<mailto:
https://archive.midrange.com/midrange-l>.Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l<
support@xxxxxxxxxxxxxxxxxxxx> for any subscription
Please contact support@xxxxxxxxxxxxxxxxxxxx<mailto:
relatedaffiliate
questions.
Help support midrange.com by shopping at amazon.com with our
MIDRANGE-L@xxxxxxxxxxxxxxxxxx>listlink: https://amazon.midrange.com<https://amazon.midrange.com>--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx<mailto:
https://lists.midrange.com/mailman/listinfo/midrange-l>To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l<
MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx>or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx<mailto:
https://archive.midrange.com/midrange-l>.Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l<
support@xxxxxxxxxxxxxxxxxxxx> for any subscription related
Please contact support@xxxxxxxxxxxxxxxxxxxx<mailto:
listquestions.--
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com<https://amazon.midrange.com>
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx<mailto:MIDRANGE-L@xxxxxxxxxxxxxxxxxx>
To subscribe, unsubscribe, or change list options,https://lists.midrange.com/mailman/listinfo/midrange-l>
visit: https://lists.midrange.com/mailman/listinfo/midrange-l<
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx<mailto:MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx>
Before posting, please take a moment to review the archiveshttps://archive.midrange.com/midrange-l>.
at https://archive.midrange.com/midrange-l<
support@xxxxxxxxxxxxxxxxxxxx> for any subscription related
Please contact support@xxxxxxxxxxxxxxxxxxxx<mailto:
questions.--
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com<https://amazon.midrange.com>
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx<mailto:
MIDRANGE-L@xxxxxxxxxxxxxxxxxx>
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l<
https://lists.midrange.com/mailman/listinfo/midrange-l>
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx<mailto:
MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx>
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l<
https://archive.midrange.com/midrange-l>.
Please contact support@xxxxxxxxxxxxxxxxxxxx<mailto:
support@xxxxxxxxxxxxxxxxxxxx> for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com<https://amazon.midrange.com>
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.