|
AR (accounts receivable) + type + 3 or 4 digit sequential number. If RPG, that's the name. If CL, append CL (or JQ - for "job queue", I suppose - for a batch CL program). Type - C = calculation program; P = prompt program; I = inquiry program; R = report program; U = update program. Special case: trigger programs are ATUnnnn (I know that's counter to the standard, but it was not my preference, nor my decision; I would have called them ARTxxxx). Service programs = ARV<file or function>, plus a 2-digit sequence number, if needed. Francis Lapeyre IS Dept. Programmer/Analyst Stewart Enterprises, Inc. E-mail: flapeyre@xxxxxxxx -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Brian Piotrowski Sent: Wednesday, February 22, 2006 1:33 PM To: RPG programming on the AS400 / iSeries Subject: Naming Conventions on Your Programs Hi All, I wanted to take a quick poll as to how you name your programs in your shop. Currently, our parent company names the programs based on their operation. All programs were formatted as such: SS + 3 digit number + Program Type (ie: R for RPG, D for DDS, etc.) So we had names such as SS112R, SS112D, etc. We did originally have "SP" programs but post-conversion these programs became "SS" (not exactly sure why this is done - it has always been SOP in our programming departments). I'm trying to move away from this practice of using SSxxx because any new programmer coming into the company will not know what these programs do. They will need to spend time reviewing the source code to understand what is happening. I'm of the mindset to name our programs with something more meaningful. For example, if we have a program that creates master packing lists, I would probably name it CRTMPLR and it's DDS/PRTR files CRTMPLD and CRTMPLP respectively. I do wish that the AS/400 would accept file names larger than it's current limitations. It would be nice to be able to name a program "Create Master Packing List" instead of trying to do it shorthand. What is your shop's policy for naming files? Thanks! Brian. -=-=-=-=-=-=-=-=-=-=-=-=-=- Brian Piotrowski Specialist - I.T. Simcoe Parts Service, Inc. PH: 705-435-7814 FX: 705-435-6746 -=-=-=-=-=-=-=-=-=-=-=-=-=- -- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
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.