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



Hi Steve,

It is a documented feature - since you are working in RPG III (shame, shame <g>) - from Chapter 11 of the RPG/400 Users Guide Page 267

"For a data area data structure, if the data area exists in a library that is specified in
the library list, the data area is copied into the program. If the data area does not
exist in a library that is specified in the library list, the name and length of the data
structure are used to generate a data area in the job’s temporary library (QTEMP)."

Regards

Paul Tuohy
ComCon
www.comconadvisor.com www.systemideveloper.com




sjl wrote:
All -

I'm using a data area as a UDS data structure in my RPG program.

IDC4210 UDS 18
I 1 8 DSDELN
I 9 16 DSDOC
I 17 18 DSDCT


In the Initialization subroutine I have:

C *NAMVAR DEFN DC4210


This data area does /NOT/ exist prior to running this program. When running the program in debug mode, it appears that immediately upon program execution, it creates this data area in the QTEMP library.
The QTEMP library is actually where I want the data area to be created, but I haven't found in the RPG/400 reference the documentation for this behavior. Is this an undocumented feature?

Regards,
Steve









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.