ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Update IFS file

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

  • Update IFS file

    Dear All,

    Currently the existing system design is updating the IFS file manually.
    Could you please advise how to update the IFS file? or Clear and write the IFS file(.txt) through the program?

    If it is repeated Apologies
    Thanks in Advance!

    Regards,
    Sudha
    The Secret Of Achieving Your Goals Is Revealed Before Your Eyes.
    System Engineer

    Sudha...

  • #2
    Re: Update IFS file

    there is no way to "update" a file of the IFS so to speak. the only way to ensure that it might be correct would be to read the original file and write to a new IFS file until you reach the part of the stream file to update, add your new/updated data to the new file and write out the remainder of the data to the new file. if you simply want to replace it use the unlink API or RMVLNK command then simply write out the new file.
    I'm not anti-social, I just don't like people -Tommy Holden

    Comment

    Working...
    X