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 - 1398 days ago
Last viewed on: 27 Mar 2023 (1117 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: 3 years 10 months 5 days 15 hours 4 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: 3 years 9 months 28 days 20 hours 16 minutes ago

That's what I ended up doing.

Thanks for repsonding!