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



David

A "name" is like an object name or a path name - on a command line, enter the PARM command (yes, you'll get a message that it is not usable in this environment - no problem) and prompt it with F4 - position to the data type parameter and prompt that - it'll show you several data types that can be used for command parameters. Several of these include "NAME" - NAME, PNAME, SNAME, if I remember. In that prompt window, press F1 for help, then read through - you should see some of the same allowed characters as VNE has for one of the *NAME types.

At least this gives me some context. Not sure if it is as precise as some might like, but it's what I think about when you bring up the technical term, "name".

HTH
Vern

David FOXWELL wrote:
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.

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.