|
Our convention follows the form of AAA B CCC D EE Where AAA = Major module identifier (e.g. SYS) B = Object Type (e.g. R=RPG, C=CL, S=DSPF, etc) CCC = Three digit numeric sequence (000-999) D = Alpha-numeric extender for PF/LF or "M" for Modules EE = Two digit sequence for Modules For any existing OPM programs, the "B" is retained in the program name whilst for ILE programs it is removed. So, for example, SYSR001 would be an OPM RPG program, whilst modules SYSC001M01, SYSR001M02 and SYSR001M03 would create ILE program SYS001. Module M01 is always the entry point for an ILE program. Jonathan -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Brian Piotrowski Sent: 22 February 2006 19:33 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 -=-=-=-=-=-=-=-=-=-=-=-=-=-
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.