I beleive he is looking for the data area that contains the default values for the RPG "H" spec.
From what I recall, it does not exist by default, but if you create a data area called RPGHSPEC and format it with your defaults, the compiler will bring that in.
I do not think that it works with RPG IV.
Jeff Young
Sr. Programmer Analyst
IBM -e(logo) server Certified Systems Exper - iSeries Technical Solutions V5R2
IBM Certified Specialist- e(logo) server i5Series Technical Solutions Designer V5R3
IBM Certified Specialist- e(logo)server i5Series Technical Solutions Implementer V5R3
----- Original Message ----
From: Buck <kc2hiz@xxxxxxxxx>
To: rpg400-l@xxxxxxxxxxxx
Sent: Tuesday, October 9, 2007 12:08:14 PM
Subject: Re: RPG header spec
Janice Chester wrote:
Where do I look to find out how / where a dtaara is defined in the
header specs when RPGLE programs are compiled.
I'm afraid I didn't understand the question, so I apologise if this
sounds dense. What programming problem are you trying to solve? Use a
data area in your program (like to get the last invoice number used?)
RPG Reference, D-specification keyword DTAARA() (there are other ways)
Automatically have the compiler supply a Header-specification based on a
pre-defined data area? RPG Reference, chapter 13 Something else?
--buck
As an Amazon Associate we earn from qualifying purchases.