Skip to main content

[Migrated content. Thread originally posted on 26 July 2005]

We are developing our Thin Client App in Acubench on the PC. We want to display the file creation date on the screen so the user will know the date of the last update. The function we are using is C$FILEINFO. The date displays just fine while in Acubench testing the code. When we move the code to our UNIX Server and run it the date does not look the same. The date on the UNIX server is:

Jul 26 14:30

But it looks like this in the display:
62/88/3897

We looked in the manual and other docs but can't find any switches we have to enter. It looks as though the program thinks we are still in a Windows Enviroment.

Any ideas or places we can look to see how to handle this?

TIA

[Migrated content. Thread originally posted on 26 July 2005]

We are developing our Thin Client App in Acubench on the PC. We want to display the file creation date on the screen so the user will know the date of the last update. The function we are using is C$FILEINFO. The date displays just fine while in Acubench testing the code. When we move the code to our UNIX Server and run it the date does not look the same. The date on the UNIX server is:

Jul 26 14:30

But it looks like this in the display:
62/88/3897

We looked in the manual and other docs but can't find any switches we have to enter. It looks as though the program thinks we are still in a Windows Enviroment.

Any ideas or places we can look to see how to handle this?

TIA
I used:

01 FILE-INFO.
02 FILE-SIZE PIC X(8) USAGE IS COMP-X.
02 FILE-DATE PIC 9(8) USAGE IS COMP-X.
02 FILE-TIME PIC 9(8) USAGE IS COMP-X.

CALL "C$FILEINFO" USING FILE-NAME, FILE-INFO,
GIVING STATUS-CODE

With the same file I get the same date on my Sun Solaris as I do on my Windows machine.

20050726

[Migrated content. Thread originally posted on 26 July 2005]

We are developing our Thin Client App in Acubench on the PC. We want to display the file creation date on the screen so the user will know the date of the last update. The function we are using is C$FILEINFO. The date displays just fine while in Acubench testing the code. When we move the code to our UNIX Server and run it the date does not look the same. The date on the UNIX server is:

Jul 26 14:30

But it looks like this in the display:
62/88/3897

We looked in the manual and other docs but can't find any switches we have to enter. It looks as though the program thinks we are still in a Windows Enviroment.

Any ideas or places we can look to see how to handle this?

TIA
We did this. We are copying the data file to our Windows machine for development. The live data is on the Linux Server. It is as though the Thin client doesn't know it is aceesing a UNIX machine.

[Migrated content. Thread originally posted on 26 July 2005]

We are developing our Thin Client App in Acubench on the PC. We want to display the file creation date on the screen so the user will know the date of the last update. The function we are using is C$FILEINFO. The date displays just fine while in Acubench testing the code. When we move the code to our UNIX Server and run it the date does not look the same. The date on the UNIX server is:

Jul 26 14:30

But it looks like this in the display:
62/88/3897

We looked in the manual and other docs but can't find any switches we have to enter. It looks as though the program thinks we are still in a Windows Enviroment.

Any ideas or places we can look to see how to handle this?

TIA
I set up Thin client on my Solaris machine and the date stays the same.

What type of file are you processing?

Did the file get transferred correctly (ASCII or binary)?

[Migrated content. Thread originally posted on 26 July 2005]

We are developing our Thin Client App in Acubench on the PC. We want to display the file creation date on the screen so the user will know the date of the last update. The function we are using is C$FILEINFO. The date displays just fine while in Acubench testing the code. When we move the code to our UNIX Server and run it the date does not look the same. The date on the UNIX server is:

Jul 26 14:30

But it looks like this in the display:
62/88/3897

We looked in the manual and other docs but can't find any switches we have to enter. It looks as though the program thinks we are still in a Windows Enviroment.

Any ideas or places we can look to see how to handle this?

TIA
The Thin Client is running in Windows and the runtime and data are on a LINUX server. The files are read properly it is just the date that is not getting displayed properly.