[Download-List] @YEAR variable - manual wrong ?

David L. Rotman rotmand at cedarville.edu
Wed Aug 18 07:05:43 EDT 2010


David--
 
Thanks for pointing this out.  I'm not sure how I could have recorded
that I was fixing the documentation...and then not include the fix.
 
For sites that wish to get a 4-digit year by default, you can make a
simple change in DOWNLOAD.PARSE (DLPARSE for Universe). Look for these
two lines:
5927:          CASE AT.VARIABLE.NAME = '@YEAR'
5928:             AT.VARIABLE.VALUE = @YEAR
Replace the second line with:
5928:            AT.VARIABLE.VALUE = OCONV(@DATE,'D4/YMD')[1,4]
Compile and recatalog after making the change.
 
 
 
 
 
Dave Rotman
Associate Vice President for Technology
Chief Information Officer
Cedarville University
251 N. Main Street
Cedarville, OH 45314
rotmand at cedarville.edu
voice 937-766-7905
fax 937-766-8819
 


>>> On 8/9/2010 at 10:03 PM, in message
<BEEAB4A4DAF29A4F9B8452276C1DC4847D3A654507 at EMSCM006.sagemsmrd01.sa.gov.au>,
"Norman, David (Health)" <David.Norman at health.sa.gov.au> wrote:


The Change History shows v7.30 having a documentation fix because @YEAR
returns a 2 digit year not 4 digit, but the v7.30 and v7.40 manuals both
still show 4 digits (2003) and describe the output as 4 digits in the
chart describing the @ variables.

Presumably this is wrong and @YEAR does only return 2 digits ? (I’m
still running v7.20).
 
========================
David Norman
Senior Software Engineer - SA Ambulance Service
 
ICT Services
SA Health
Government of South Australia
 
Box 3, GPO
Adelaide, South Australia 5001
(+61 8 8274 0384
Ê fax +61 8 8271 4844
: david.norman at health.sa.gov.au
 
This e-mail may contain confidential information, which also may be
legally privileged. Only the intended recipient(s) may access, use,
distribute or copy this e-mail. If this e-mail is received in error,
please inform the sender by return e-mail and delete the original. If
there are doubts about the validity of this message, please contact the
sender by telephone. It is the recipient’s responsibility to check the
e-mail and any attached files for viruses. 
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.cedarville.edu/pipermail/download-list/attachments/20100818/8257a349/attachment.html>


More information about the download-list mailing list