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



This is a multipart message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Simon,

Basically what you said is what IBM told me.
C's allows SRCSTMF for quite awhile.  C didn't do it.  Submit DCR.
I shot out an email to the lists wondering how Turnover would support
this.  I know they monitor and sometimes reply.  Either they missed this,
or they are chewing this one over, (or not planning to support it).

Rob Berendt
--
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
Benjamin Franklin




"Simon Coulter" <shc@flybynight.com.au>
Sent by: rpg400-l-admin@midrange.com
10/17/2002 07:27 PM
Please respond to rpg400-l


        To:     rpg400-l@midrange.com
        cc:
        Fax to:
        Subject:        Re: V5R2:  Source now allowed in the IFS



Hello Rob,

You wrote:
<Quote>
Then I do a DSPPGM of ROB/AAXYZ, I see:
Oh crud, methinks they are missing something here!
Program  . . . . . . . :   AAXYZ         Library  . . . . . . . :   ROB
Module attributes:
  Module . . . . . . . . . . . . . . . . . . . . :   AAXYZ
    Library  . . . . . . . . . . . . . . . . . . :     QTEMP
  Source file  . . . . . . . . . . . . . . . . . :
    Library  . . . . . . . . . . . . . . . . . . :
  Source member  . . . . . . . . . . . . . . . . :
I also checked the API QBNLPGMI and there's nothing in there.  PMR is
opened.  They were wondering when DSPPGM, and the API, will catch up.
I was told that C had the ability to compile from IFS for some time
now.
</Quote>

I see that Mark beat me to the 'obvious' comment regarding losing the
source relationship.  What you see above is normal.  The C Programmer's
Guide states:

"   If you specify SRCSTMF, the *MODULE object contains no source file
    attribute information.    "

I suspect your PMR will be answered as Working as Designed/Documented
or Fixed in a Future Release.  I see no reason to expect different
behaviour from other compilers that support stream file source.  That
does not mean that IBM cannot alter the OIR in a future release to add
stream file source information in a manner similar to the way they
track where-used information -- or even store it directly in the module
object (which would seem a more senisble place for it).

Adding stream file support to the compilers is, I believe, part of the
reason IBM withdrew ADM.  They probably found it was too hard to
incorporate stream file support into ADM's build algorithm -- which is
a great pity because I really like ADM.  (I doubt I would ever
willingly hold AS/400 source in stream files but I would like the
ability to incorporate stream file data in an ADM build -- oh dear, how
sad, never mind!)

Losing the source information makes it very hard to correlate object
and source and no PC or Unix style CMS will handle this requirement.
The best they can do is some sort of version control system where the
compiled object is held/imported/commited at the same release level as
the source and the assumption is that the source and object at a given
level match.  Here is another example of dumbing down the AS/400 to
match less evolved platforms -- just because they don't have support
for matching source and object they don't think it useful so we lose
(again!).

Regards,
Simon Coulter.
--------------------------------------------------------------------
   FlyByNight Software         AS/400 Technical Specialists

   http://www.flybynight.com.au/
   Phone: +61 3 9419 0175   Mobile: +61 0411 091 400        /"\
   Fax:   +61 3 9419 0175   mailto: shc@flybynight.com.au   \ /
                                                             X
                 ASCII Ribbon campaign against HTML E-Mail  / \
--------------------------------------------------------------------



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.