× 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: DOCA (was: VRPG And/Or Java)
  • From: Phil Hall <hallp@xxxxxxxx>
  • Date: Tue, 02 Sep 1997 09:15:24 -0500
  • Organization: SSA

DAsmussen@aol.com wrote:
> >  But in RPG you have to enter the file specs, which (simplistically) is
> >  similar to coding #include <recio.h> in C
> 
> VERY simplistically.

But the outcome is the same, that by having F-specs in RPG and recio.h in C you
are 'stating' that you're gonna use files...

> 
> >
> >  The structure *does* tie the program to the field layout of the file, but
> >  so can the I-specs/D-specs of RPG.
> 
> But, unless specifically stated, the I and D specs are NOT library-specific.

The structures generated by 'mapinc' are not library specific either, all that
is happening is that the 'mapic' statemnet is defaulting the prefix for the
structure to the librayname_filename_formatname. Once again, it in *NO WAY*
ties the structure to the library.

> 
> >  > I don't need to worry about packed decimal, single quotes v. double
> >  > quotes,
> >
> >  These are still an issue in RPG, CL, COBOL, MI, PL/1, (do I need to go
> >  on ?) not just C.
> 
> How do you figure RPG?  RPG doesn't support the double quotes at all.  I
> always used them (double quotes) in BASIC to differentiate character strings
> from other functions using single quotes on print-outs.  It took me MONTHS to
> quit using them in RPG when I came back...
> 

I was trying to break Ed's list into sections to comment on, I missed a
break-point, but hey, so does STRDBG now and again ;-)

-phil

-- 
Phil Hall
____________________________
email . . . : hallp@ssax.com
phone(w). . : (312) 258-6319
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to "MIDRANGE-L@midrange.com".
| To unsubscribe from this list send email to MAJORDOMO@midrange.com
|    and specify 'unsubscribe MIDRANGE-L' in the body of your message.
| 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.