Data Extract

65 pts.
Tags:
CL
IBM DB2
Pipe-Delimited Text File
RPG
What is the easiest way to extract data from a pipe-delimited text file?

Answer Wiki

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

Here’s the discussion

http://forums.systeminetwork.com/isnetforums/showthread.php?t=46056

CPYFRMIMPF

As I remember it the trick is getting the correct character for the PIPE –
and as I remember it we would cut it from the PC side past it on the 400 side.
But my memory .. what was I saying???

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
    A streamfile in the IFS, such as a .CSV or pipe-delimited file, can be viewed with the DSPF command or through the 'View' option of the WRKLNK command. While viewing the streamfile, you can press <F10=Display Hex>. (You can also use the DMP command to dump a streamfile to a spooled file, but this can create a lot of output for a large streamfile.) The hexadecimal output can show you exactly what character is being used for a delimiter. 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