×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
I've done it this very way for a long time also. We might have stolen the
idea from the same place.:-)
*
* Level Array
* This takes the fields from a screen, s1lvl1-9, and
* makes them into an array
*
D DSLvl DS
D s1lvl1
D s1lvl2
D s1lvl3
D s1lvl4
D s1lvl5
D s1lvl6
D s1lvl7
D s1lvl8
D s1lvl9
*
D Lvl LIKE(s1lvl1)
D OVERLAY(DSLvl)
D DIM(9)
Thanx,
Nick
Nick Radich
Sr. Programmer/Analyst
EPC Molding, Inc.
Direct (320) 679-6683
Toll free (800) 388-2155 ext. 6683
Fax (320) 679-4516
nick_radich@xxxxxxxxxxxxxx
Jerry Adams <Jerry@xxxxxxxxxxxxxxx>
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
06/26/2009 06:07 AM
Please respond to
RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>
To
RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>
cc
Subject
RE: Reading a file into a data set
Alan,
This is the way that I have done it before. The fields are not contiguous
in the record. I know I stole the idea, but can't remember from whom.
D Methods DS
D LxCigs
D LxChew
D LxSnuff
D LxSmokel
D LxCigars
D LxLittle
D LxRolling
D LxPlug
D MethArr Overlay(Methods)
D Like(LxCigs) Dim(8)
Jerry C. Adams
IBM System i Programmer/Analyst
--
B&W Wholesale
office: 615-995-7024
email: jerry@xxxxxxxxxxxxxxx
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Alan Shore
Sent: Thursday, June 25, 2009 3:18 PM
To: RPG programming on the IBM i / System i
Subject: Reading a file into a data set
Brain freeze on top of a brain fart really hurts
I'm sure that I've done this before, but I cannot remember how or in which
program
I have an externally defined file with the record consisting of the
following fields
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.