There is a way though I forget how right now. The easiest way, which I
always did, was simply make it a "native" (DDS or SQL) file first. After
that, it's, as they say, a piece of cake.
Jerry C. Adams
IBM i Programmer/Analyst
One day equality will be a fact. Until then we're all a little bit foolish.
-Paladin
--
NMM&D
615-585-2175
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of
DEnglander--- via MIDRANGE-L
Sent: Friday, March 06, 2026 12:40 PM
To: midrange-l@xxxxxxxxxxxxxxxxxx
Cc: DEnglander@xxxxxxxxxxxxxxx
Subject: S/36 Flat file question
I have a S/36-era flat file that I am working on. It has one "field" in
it, and the file name, record format, and the one field are all the same
name. The file is created with a CRTPF statement with no DDS and using the
RCDLEN parameter.
I want to know if it is possible to somehow create a "compatibility" style
LF over this, and update the flat file to a DB2 table or a DDS PF if
needed. Fields need to be enlarged and added.
I can't get an LF to compile using the file name, field, and format all
the same name. Has anyone done this: Create an LF to mimic a flat file
over a DB2/DDS file? I have done it successfully before over an existing
DB2/DDS file, but never a flat file.
Thank you,
Doug
"CONFIDENTIALITY NOTICE: This e-mail transmission (and/or the attachments
accompanying it) contain confidential information belonging to the sender.
The information is intended only for the use of the intended recipient. If
you are not the intended recipient, you are hereby notified that any
disclosure, copying, distribution or the taking of any action in reliance on
the contents of the information is strictly prohibited. Any unauthorized
interception of this transmission is illegal under the law. If you have
received this transmission in error, please promptly notify the sender by
reply e-mail, and then destroy all copies of the transmission."
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2026 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.