• Subject: Re: RPG UDDS Generic File Display/Update (Null fields in program described files)
  • From: Barbara Morris <bmorris@xxxxxxxxxx>
  • Date: Wed, 16 Jan 2019 06:32:07 -0500
  • Arc-authentication-results: i=1; mx.google.com; spf=neutral (google.com: 195.159.176.226 is neither permitted nor denied by best guess record for domain of rpg400@xxxxxxxxxxx) smtp.mailfrom=rpg400@xxxxxxxxxxx; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-language:in-reply-to:user-agent:content-transfer-encoding :mime-version:reply-to:references:message-id:lines:organization:date :subject:from:to; bh=jd6F8xyzI/uhTnPXJIS3NdEV9qdbIepS2xdN6QAfcPA=; b=aO+Jl+Z18toh/bVc8TgCoJ3TB/OLL7wGNL/fJuZCp74OiMdVnjcwKzYByNTGlbwW1W RVXAonuiKzLr88gQpVxJ3rmsJVZkMe2EuZ3cY1VkD9YwYZthSB1Icf1V/BtzuhKWbXL5 yiy8PzuqUorIneaMlUhmheRLDTYepCwqgOmEBBZ7d0mhkf1892xH7sc4u72CR0/yTGdl ubBfNguEHgrWHkOWMCmV/BWJGH/Qldh7SNQ3AU8xU/bOjQ7bVcLejvZZNqowdIdhJSv8 Se0kORZhe1eQ0kzU9kVTMU37/eavjAsk3UIWrIwN+itvSsV73Mq6iWWiLgkaYHzsh6D7 Jocg==
  • Arc-seal: i=1; a=rsa-sha256; t=1547638341; cv=none; d=google.com; s=arc-20160816; b=iylhyBQ0OZedr3dzxXnonGEqj51EjKitZzmyj+NWVFECc0PCh6+zWtxSburCMfFe+M FY/Cvgt8MsK4tELfQJrpTMsuFkK6rUxN7Ds57DTWm5mZ6r46L28RfHvJ7eNfRXQJvPEn 63lrCoF7Ra3YFCT35QIW2yr24nmw9iz4iosNlLgXMAXzoVhQqEhhtTpq3+9SpXxg9TAC mr3J20e5kJkdNb2Vb3S0EDWRuTVjgxNGjSLVO4JZJkWeSsm8zca8AYd7YKZSDNE0dHvt EPqpiOg6M/9ukkI8yH0a8Ihr3tl6CLF1AhtRqkVf1ACpbTlZ0btSW9UZ/O8ClkSrqfnf wONw==
  • List-archive: <https://archive.midrange.com/rpg400-l/>
  • List-help: <mailto:rpg400-l-request@lists.midrange.com?subject=help>
  • List-id: "RPG programming on the IBM i \(AS/400 and iSeries\)" <rpg400-l.lists.midrange.com>
  • List-post: <mailto:rpg400-l@lists.midrange.com>
  • List-subscribe: <https://lists.midrange.com/mailman/listinfo/rpg400-l>, <mailto:rpg400-l-request@lists.midrange.com?subject=subscribe>
  • List-unsubscribe: <https://lists.midrange.com/mailman/options/rpg400-l>, <mailto:rpg400-l-request@lists.midrange.com?subject=unsubscribe>

On 2019-01-15 4:57 AM, Frank Kolmann wrote:

What I am showing is that the compiler has set
Allow null values  . . . . . . . : *NO

Even though I have specified
Allow null values  . . . . . . . :   *USRCTL


Where are you seeing "Allow null values ... *NO"? As far as I know, there's nothing in the actual module or program that DSPMOD or DSPPGM would show about null-value support.

Are you specifying ALWNULL on the command or the H spec? If it's the H spec, the first part of the listing will show the default of *NO, but later in the listing, after it reads the H spec, it will show a section with "Compiler options in effect" showing the actual settings of the combined compile parameters plus H spec keywords.

My listing, where I have ALWNULL in the H spec, looks like this:

Fix numeric . . . . . . . . . . : *NONE
Target release . . . . . . . . . : *CURRENT
Allow null values . . . . . . . : *NO
Storage model . . . . . . . . . : *INHERIT
...
Line <---------------------- Source Specifications --
Number ....1....+....2....+....3....+....4....+....5...
S o u r c e L i s t i n g
1 ctl-opt alwnull(*UsrCtl);
2
*----------------------------------------------
* Compiler Options in Effect:
*----------------------------------------------
* Text 'description' . . . . . . . :
...
* Fix numeric . . . . . . . . . . : *NONE
* Allow null values . . . . . . . : *USRCTL
* Storage model . . . . . . . . . : *INHERIT

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 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].