×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Kurt,

If you're new to working with NULL variables in RPGLE, you might want to
check out these two threads:
http://archive.midrange.com/rpg400-l/200605/msg00372.html

http://archive.midrange.com/rpg400-l/200605/msg00724.html

IMHO, RPG is missing a couple of things when it comes to NULL variable
support.

HTH,

Charles Wilt
--
iSeries Systems Administrator / Developer
Mitsubishi Electric Automotive America
ph: 513-573-4343
fax: 513-398-1121
  

-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx 
[mailto:wdsci-l-bounces@xxxxxxxxxxxx] On Behalf Of Kurt Anderson
Sent: Wednesday, December 20, 2006 9:47 AM
To: Websphere Development Studio Client for iSeries
Subject: Re: [WDSCI-L] Verify & %nullind

Hm, didn't realize there was such an H-spec.  I was thinking it wanted
*usrctl on the file for some reason.

In fact, that makes sense as to why my compiles would work while the
verify would not (our ALWNULL defaults to *usrctl).

Thanks for the help!

Kurt Anderson
Application Developer
Highsmith Inc

-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx 
[mailto:wdsci-l-bounces@xxxxxxxxxxxx]
On Behalf Of Heuvel, Wim van den
Sent: Wednesday, December 20, 2006 8:28 AM
To: Websphere Development Studio Client for iSeries
Subject: Re: [WDSCI-L] Verify & %nullind

Kurt,

ALWNULL(*USRCTL) is a keyword on the H-spec.
You should combine this with the %NULLIND() and DFT(*NULL) in DDS. 

Wim

-----Original Message-----
From: wdsci-l-bounces@xxxxxxxxxxxx 
[mailto:wdsci-l-bounces@xxxxxxxxxxxx]
On Behalf Of Kurt Anderson
Sent: woensdag 20 december 2006 15:18
To: Websphere Development Studio Client for iSeries
Subject: [WDSCI-L] Verify & %nullind

It seems I've gone 2 years suffering this blasted error.
http://archive.midrange.com/wdsci-l/200412/msg00125.html
 
When I verify, and I'm using the %nullind BIF, I get the following
error:
RNF7420: %NULLIND cannot be used when ALWNULL(*USRCTL) is not 
specified.

 
This is a file field with the following keywords:
ALWNULL  DFT(*NULL) 

Is there anything I can do to get this to work correctly?

Kurt Anderson
Application Developer
Highsmith Inc.
W5527 State Road 106, P.O. Box 800
Fort Atkinson, WI 53538-0800
TEL (920) 563-9571  FAX (920) 563-7395
EMAIL kjanderson@xxxxxxxxxxxxx
 
--
This is the Websphere Development Studio Client for iSeries  (WDSCI-L)
mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx To 
subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/wdsci-l.

--
This is the Websphere Development Studio Client for iSeries  (WDSCI-L)
mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx To 
subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/wdsci-l.

-- 
This is the Websphere Development Studio Client for iSeries  
(WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
or email: WDSCI-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/wdsci-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-2026 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.