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



Willie - is there any reason as to why you are capturing the user id in the
CL program and passing that data via a data area to an RPG program. You
have mentioned that you are a newbie, so there is a chance that you do not
know about the following code

D                sds
D  Pgm                    1     10
D  WkStn                244    253
D  UsrID                254    263
D  Job#                 264    269

Alan


                                                                       
             "Willie J. Moore"                                         
             <WMoore@calfinewi                                         
             re.com>                                                    To
             Sent by:                  "RPG programming on the AS400 / 
             rpg400-l-bounces+         iSeries" <rpg400-l@xxxxxxxxxxxx>
             alanshore=nbty.co                                          cc
             m@xxxxxxxxxxxx                                            
                                                                   Subject
                                       RE: Help with data area in RPG  
             12/15/2005 02:12                                          
             PM                                                        
                                                                       
                                                                       
             Please respond to                                         
              RPG programming                                          
              on the AS400 /                                           
                  iSeries                                              
             <rpg400-l@midrang                                         
                  e.com>                                               
                                                                       
                                                                       




Donald,
Would you please show me an example of the first two. Cannot use the last
suggestion because has to be different for each user that signson.
Willie..

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Fisher, Don
Sent: Thursday, December 15, 2005 10:06 AM
To: 'RPG programming on the AS400 / iSeries'
Subject: RE: Help with data area in RPG


One possibility would be to populate the local data area (*LDA) with
whatever information you want to store in the data area.  Another thought
would be to pass the information into the RPG program as parameters.  A
third possibility would be to create the data area in QTEMP using the same
name for the data area each time.

Will any of those work for you?

Donald R. Fisher, III
Project Manager
Roomstore Furniture Company
(804) 784-7600 extension 2124
DFisher@xxxxxxxxxxxxx

<clip>
Create a data area using the 'userid' field in a CL program. This I have
done.  Where I am having problems is calling this data area in my RPG
program. I cannot get the created data area to read in my program.
The data area can be different depending on who runs the job.
<clip>
--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.


--
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.


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.