|
What exactly are you having problems with.
Is this a school assignment.
There are examples in the archives that show how to
code user spaces.
Do you have access to the API manuals.
Frank Kolmann
From: bschmuhl@att.net
Subject: Re: Fw: USERSPACE
An easier way to accomplish this may be to use a keyed
data queue rather than a user space.
>
> Hello!
>
> I'm programmer without any experience, using *USRSPC.
> So I appeal to RPG400-L for help.
> What I want to do is:
> 1. To create *USRSPC
> 2. To fill *USRSPC with data
> (records vary, for instance let it be 20)
> 3. To sort *USRSPC (if possible by - cInvName+dInvDate)
> 4. To read sorted data from *USRSPC and put
> them on *SPLF
> 5. To clear *USRSPC
> I want to repeat continuously from step 2-5 in a program.
> Fields for
> *USRSPC: D cInvName S 20
> D nInvPrice S 15 2
>
> I please everyone, who will be so nice to help me
> solve this problem that uses field names like I defined them.
> This will help me understanding what and where is going on.
>
> I would appreciate, if this will be written like source code
> with good comments
> included.
> Thanks in advice for any help you will provide to me.
> Sorry for my English, hope you understand what I wish.
>
> Lep pozdrav Zdenko from Slovenia
__________________________________________________________________
Get your own FREE, personal Netscape Webmail account today at
http://webmail.netscape.com/
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-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 mailing list archive is Copyright 1997-2025 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.