Crispin,
I have to admit that I find the IBM information very hard to understand. Which is why I made this post. I am understanding, from the example, that AB and VNE are combined so that a blank is then acceptable in a zone with CHECK(VNE). I still do not understand what is meant by "the name" in the help text. What name?
Here's the example I was reading, at
http://publib.boulder.ibm.com/infocenter/iadthelp/v6r0/index.jsp?topic=/com.ibm.etools.iseries.langref2.doc/rzakcmstdfcheck.htm
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00060A R RECORD1 CHECK(AB)
00070A FIELD11 10 B 1 2TEXT('CHECK(AB) not propagated to +
00080A this field')
00090A FIELD21 10 B 1 22CHECK(VN)
00100A TEXT('CHECK(AB) is propagated to +
00110A this field')
00120A FIELD31 10 B 1 42CHECK(VNE)
00130A TEXT('CHECK(AB) is propagated to +
00140A this field')
And this is the help on VNE : So with AB at record level, HEX 40 is permitted. (?)
VNE
Validate name extended
Use this code to specify that the data typed into the field must be a valid extended name.
When the CHECK(VNE) keyword is specified on a field, the field must be character (keyboard shift of A, N, X, W, or I), input-capable (usage of I or B), and have a maximum length of 255 characters.
If the name is not delimited by double quotation marks:
The first character must be A through Z, a through z, #, $, or @.
The remaining characters must be A through Z, a through z, #, $, _, or a period.
Lowercase letters will be converted to uppercase.
If the name is delimited by double quotation marks:
Any character is allowed except:
Hex 00 through Hex 3F
(device control)
Hex FF
(device control)
Hex 40
(blank)
Hex 5C
(*)
Hex 6F
(?)
Hex 7D
(')
Hex 7F
(")
Lowercase letters remain lowercase.
The system removes quotation marks when they are not needed (if the syntax of the name meets the requirements of an unquoted name, and all letters are uppercase).
-----Message d'origine-----
De : midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] De la part de Crispin Bates
Envoyé : mardi 7 avril 2009 16:49
À : Midrange Systems Technical Discussion
Objet : Re: DSPF DDS CHECK(VNE)
I don't think that is what CHECK(AB) does...
----- Original Message -----
From: "David FOXWELL" <David.FOXWELL@xxxxxxxxx>
To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
Sent: Tuesday, April 07, 2009 9:53 AM
Subject: RE: DSPF DDS CHECK(VNE)
I thought if I used it on the field that is only 80
characters long, and added CHECK(AB) at file level, it may work.
As an Amazon Associate we earn from qualifying purchases.