ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

converting Stream File EOL parameter to *LF dynamically

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • converting Stream File EOL parameter to *LF dynamically

    Hi All,

    I was trying write a program Automate SFTP process.
    My question is how do i convert Stream File EOL parameter to *LF dynamically?

    Please help me in this


    Thanks in advance
    Regards
    Xcures

  • #2
    Re: converting Stream File EOL parameter to *LF dynamically

    how is the stream file being created? if you are using CPYTOSTMF just specify *LF as the end of line separator, if you are using a program with the IFS APIs then just put the hex values for line feed at the end of the record. if you are getting it from somewhere else...then you're on your own.
    I'm not anti-social, I just don't like people -Tommy Holden

    Comment

    Working...
    X