'Y' in defined item name
douglas brown
douglas_brown@standardlifehealthcare.com
Fri, 9 Nov 2001 08:28:21 +0000
We are using 7.10.F3 on OpenVMS V7.1 and it works they way it is supposed
to!
YBCDE AYCDE ABYDE ABCYE ABCDY
18-12-89 18-12-89 18-12-89 18-12-89 18-12-89
01-01-02 01-01-02 01-01-02 01-01-02 01-01-02
13-01-90 13-01-90 13-01-90 13-01-90 13-01-90
13-01-92 13-01-92 13-01-92 13-01-92 13-01-92
13-01-89 13-01-89 13-01-89 13-01-89 13-01-89
13-01-92 13-01-92 13-01-92 13-01-92 13-01-92
14-01-93 14-01-93 14-01-93 14-01-93 14-01-93
The date field I referenced is zoned unsigned size 6 in an RMS file. I
also checked using a VMSDATE field in an RDB table and got the same result,
so it looks like something that crept in between F3 and G!!
Regards
Douglas Brown
+---------------------------------------------------
----- Forwarded by Douglas Brown/STANDARD LIFE HEALTHCARE on 09/11/2001
08:15 -----
<martijn.nabben@inl.
co.nz> To: <powerh-l@lists.swau.edu>
Sent by: cc: <Lynley.Smith@inl.co.nz>
<powerh-l-admin@cube Subject: 'Y' in defined item name
.swau.edu>
09/11/2001 16:49
Here's a very straight-forward Quiz program:
> cancel clear
> access <file>
>
> define ybcde date format ddmmyy = PERM-START-DATE
> define aycde date format ddmmyy = PERM-START-DATE
> define abyde date format ddmmyy = PERM-START-DATE
> define abcye date format ddmmyy = PERM-START-DATE
> define abcdy date format ddmmyy = PERM-START-DATE
>
> report ybcde &
> aycde &
> abyde &
> abcye &
> abcdy
> go
And here's the output:
YBCDE AYCDE ABYDE ABCYE ABCDY
01/05/60 01/05/60 010560 01/05/60 01/05/60
27/05/60 27/05/60 270560 27/05/60 27/05/60
27/05/60 27/05/60 270560 27/05/60 27/05/60
27/05/60 27/05/60 270560 27/05/60 27/05/60
27/05/60 27/05/60 270560 27/05/60 27/05/60
My query: EVERY TIME when the character "Y" is in THIRD position of a
DEFINEd item name, the date SEPARATOR is not printed. Why is that?
Cheers,
Martijn Nabben
Analyst/Programmer, INL IT
Wellington, New Zealand
PowerHouse 4GL Quiz version 7.10.G on VAX/OpenVMS V7.1
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.swau.edu
Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu
Unsubscribe: "unsubscribe" in message body to
powerh-l-request@lists.swau.edu
http://lists.swau.edu/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.
For more information on Standard Life Healthcare, visit our
website http://www.standardlifehealthcare.co.uk
Standard Life Healthcare Limited is a wholly owned subsidiary of The
Standard Life Assurance Company. Registered Office: Wey House,
Farnham Road, Guildford, Surrey GU1 4XS. Registered in England
Number 2123483. Tel: 01483 440550. Calls may be recorded or
monitored. This confidential e-mail is for the addressee only.
If received in error, do not retain/copy/disclose it without our consent
and please return it to us. We virus scan all e-mails but are not
responsible for any damage caused by a virus or alteration by a third
party after it is sent.