Midrange News for the IBM i Community


Posted by: George Fuste
IBM i developer
Jacksonville, FL
Multi format LF
has no ratings.
Published: 17 May 2019
Revised: 29 May 2019 - 1793 days ago
Last viewed on: 24 Apr 2024 (1499 views) 

Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.

Multi format LF Published by: George Fuste on 17 May 2019 view comments(2)

What's the best way to update a multi-format LF?   

I am reading the LF and checking to see what rcdfmt I just read, but when I update that rcdfmt, I get the prev/read or chain required message RNX1221.  Should I CHAIN to the PF after reading the multi-format LF and then update the PF?

 

 

Return to midrangenews.com home page.
Sort Ascend | Descend

COMMENTS

(Sign in to Post a Comment)
Posted by: Ringer
Premium member *
Comment on: Multi format LF
Posted: 4 years 11 months 5 days 17 hours 15 minutes ago

> Should I CHAIN to the PF after reading the multi-format LF and then update the PF? 

Yes. I believe multi-format LFs are read-only by nature. 

Ringer 

Posted by: GFuste
Premium member *
Jacksonville, FL
Comment on: Multi format LF
Posted: 4 years 10 months 27 days 22 hours 27 minutes ago

That's what I ended up doing.

Thanks for repsonding!