× 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: simple questions-cannot find answers in common books
  • From: "R. Bruce Hoffman, Jr." <rbruceh@xxxxxxx>
  • Date: Mon, 21 Dec 1998 12:15:41 -0500



christopher sagayam wrote:

> in rpg programming
>
> 1.in form type I what is the use of SEQUENCE  eg.AA etc
>

This goes back to RPG II where multiple record types (formats) where in a flat
file and processed in a certain order.  Unless you have to maintain old code,
don't worry, be happy.  If you have to maintain old code, you might just want to
leave it alone.

> 2.how are indicators U0-U9,MR used.
>

U0 through U9 are external switch indicators.  On the AS/400 you alter them on 
or
off with either another program or use the CL command CHGJOB with the SWS
parameter.  (I think its the SWS or maybe SWITCH, I forget.)

MR is beyond the scope of e-mail.  Matching record indicator.  Used with M1
through M9 to build match fields between two or more files.  Causes the files to
be merged in a "keyed" order according to rules for M1 through M9.  Usefull, but
many people avoid it.  Again, it comes from the orginal RPG specs.  Many 
consider
it "antiquated".

> 3.is there any way i can try out RPG programs using internet ie
> downloading or etc.
>

Downloads of RPG are somewhat hard to find on the internet.  But you still need 
a
compiler to truely learn.

> 4.can a subfile be used to access data from different physical files if
> so how can an update pgm work on different physical files.
>

I am not sure, but I think you have the wrong impression of a subfile.  A 
subfile
allows multiple records of your own design to be displayed on a screen at one
time.  Handling of rollup and rolldown keys is supported and the programmer does
not have to do a whole lot of coding to make this "screen magic" happen.  So if
you read multiple files and populate the subfile and then display it...  it
happens.

b.

> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator: david@midrange.com
> +---



--
===========================================================
R. Bruce Hoffman, Jr. -- IBM Certified AS/400 Administrator

-- The sum of all human knowledge is a fixed constant.
    It's the population that keeps growing!


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.