Q
Problem solve Get help with specific problems with your technologies, process and projects.

Create a tab-delimited file

How can I create a tab-delimited file (output) within a RPG program with headings -- required to FTP to a Unix server?
You will have to use the QDBRTVFD API to retrieve the File Description using the FILD0200 format to get the field headers. You must then convert the fields and place a tab character between them prior to writing to the output file (DB2 or IFS). The Tab character will be different for output to DB2 than it will be outputting to IFS.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: tips, tutorials and more.

Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.


Dig Deeper on RPG iSeries programming

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close