|
Not knowing your backgound, it's hard to give examples, but: Source members(programs,files,displays,clps,etc,etc) are all stored in src-pf files. When you compile the member, you generally put it into a seperate library. This "compiled" program is then considered a "object". An example would be: compile a sample rpg program from a library called sorcelib to a production library called prodlib. The source member stays in one file, the object goes to another library to execute from. Soooo ... sorcelib contains a file named QRPGSRC that contains a member called tstpgm. You compile tstpgm and put the compiled version into another library called prodlib. Generally speaking, IBM provides examples of "suggested" file name to store these members. They are self described and will clue you as to what to expect in each file. Here are examples: ALL Source files where members are stored QDDSSRC --- files and display DDS (members) QRPGSRC --- rpg source (members) QCLSRC --- clp source (members) QCMD --- cmd source (members) QMNUSRC --- menu source (members) QS36SRC --- S/36 source members QS36PRC --- S/36 Procedure members Each file is considered a "multi-membered" which means it can have more than one "named" thing in the file. Each member is considered a "seperate" item in the file, even though the member could be several thousand statements long. I think you will get the idea. By using these names, it's a little easier to know where to look for what ever type you need. By the way, you can store ANY or ALL members in a single file like QANYMEM or some other made up name. Save yourself some grief and put them in IBM's suggested places. The person that follows you will thank you also. "Shahan, Ray" wrote: > > Hi, hope all had a pleasant weekend. > > I have another newbie question, and it's a result of my very very thick > head, and my less than stellar text book on the AS400. I thought I > understood that I was creating a SRC-PF file member, MYFILE, in the QDDSSRC > file in my library for my physical file, MYFILE (whew!). I also thought I > understood that the PF that was created after the compile of the SRC-PF > member was actually an object in my library (this is what the text > states)...however, the command to display the contents of the PF object, > MYFILE, is DSPPFM (display physical file member). > > So, is the file that actually contains the data a Member or an Object? Did > I even understand the concept enough to explain my confusion correctly? :-) > > TIA, > > Ray Shahan > > "Life is what happens while you're busy making other plans", John Lennon > > _______________________________________________ > This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list > To post a message email: MIDRANGE-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l > or email: MIDRANGE-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/midrange-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.