Define a data structure with all of the fields.   (Would a Like(SFLA)
keyword work on a data strucrure?)
 
Define a standalone field Like(the datastructure).
 
Eval the standalone field = the datastructure.
 
Write the standalone field to array(Inx).
 
At the correct time in your program write the array to your file.
 
 
 
---------------------------------------------------------
Booth Martin   http://www.MartinVT.com
Booth@xxxxxxxxxxxx
---------------------------------------------------------
 
-------Original Message-------
 
From: Midrange Systems Technical Discussion
Date: Friday, June 27, 2003 8:01:22 PM
To: Mailing List AS400 \(Mailing List AS400\)
Subject: store a generic sub file into a PF
 
Hi every body,
 
I would like to store in a physical file any sub file used by a
software.
Typically after a press on a function key I would like to substitute any
write in the sub file by a write in a physical file. To have a generic
solution I need to write all of the output buffer in a flat record but I
don?t know the way to capture the output buffer.
Do you have a solution to my need ?
 
Eric Panissard
IDT


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.