[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

I hate dates



Hi gang,

We have an SQR that outputs a flat file. Works great when we run it on a PC. 
However, we recently moved it over to a UNIX box and we have a problem. The 8 
digit dates are now coming out as 6 digit dates i.e. 20020207 is now coming out 
as 020207.

We are using the PeopleSoft Datetime.sqc
e.g.
do Format-DateTime(&A.Class_authorize_dt, $out, {DEFCMP}, '', '')

on the PC, $out contains 20020207
on Unix, $out contains 020207

Same thing happens if I "show" &A.Class_authorize_dt

I've been banging my head over this for a few days now. Any help from someone 
who has experienced this before and didn't suffer a concussion because of it 
would be appreciated :-)

Peter

And yes, all the files (pssqr.ini, setenv.sqr, etc) in both environments are 
identical.