× 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.


  • Subject: Re: program/file data structure
  • From: "James W. Kilgore" <qappdsn@xxxxxxx>
  • Date: Fri, 01 Oct 1999 00:34:34 -0700
  • Organization: Progressive Data Systems, Inc.

John,

We did the same thing, as -every- shop should!

But I'm going to nit pick, not with your solution in particular, but how one
persons solution can, how should I say, require adoption to shop standards.

We also use program/file feed back areas.  In our shop P1 means Printer file #1.
We never use a number in the second position within a file's record for field
names. So we adopted the number designation for file feedback. This helped avoid
field name conflicts, so D1 is the first data base file feedback, and P1 the
first printer file feedback.

The only reason I bring this up is because of the recent thread on shared code.
IMO, one of the roadblocks of pure "plug in" code is naming conventions.  Sure 
we
can now have local vs global variables and that helps, but a program status DS
requires that you give a "name" to status, job, user, etc.

I agree with the other comments on this list, *user, *job, *jobn, (or whatever)
etc.  would be nice for program status values. I also do -not- want to rename
these values to field names. I don't think that anyone on this list has problems
with reserved words that start with "*".  I support the idea that *STATUS should
be more that just a from-to placement determinator, but a useable value.
Unfortunately, it's used in both program DS and file DS, so some other name
(*PGMSTS) needs to be developed.

How about it Hans?  Could something like this be placed in the "to do" pile?
Give it to the new kid on the team <g>

John P Carr wrote:

> I keyed this DDS in around 1985  while on the Sys/38   After I looked up
> what position the User ID was in (for the last time in 15 years)
>

+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.