Here is a copy of techtip 1149SDG from Epicor's eportal support website.
I think it describes your problem.

HTH,

Steve

Summary:  Finding/Fixing the 0 length work file in unidata    
Detail:  work file
************************************************************************
**************
*** Tech Tip No.: 1149
*** Summary: Finding/Fixing the 0 length work file in unidata
************************************************************************
**************

Finding and fixing the work file Size 0 problem in Unidata.

Problem: the user logs on to DATAFLO without a problem but when they go
to an Entry screen PREVIEW informs them that they are missing a workfile
and the screen will be Inquiry Only.

1. Find the Port# or User# :

The user must stay logged on. If you are at the terminal with the
problem, go to TCL. If you can't, 
run the report "List Active Users" (SYS-U-20), to get the port number.
The PV Port# is the first field.

:DW.WHO 

User Name : John Doe
User Number : 055 
Account Name : DF-SERVICE 

TERM Driver : WINTEGRATE.GUI 
TERM Type : vt100 
PTR Driver : Tech-Support 
SLAVE Driver : 

My User# is 055.
Note: The User# is 3 digits, you may need to pad the front with 0's.

2. Find the path to the Workfile. If you save it in the Clipboard you
can save some typing by pasting it in later.

:ED VOC PV055 

The help file 'AE_DOC', is not available. Please ask your 
system administrator to put a file pointer in your VOC file. 

Top of "PV055" in "VOC", 3 lines, 58 characters. 
*--: P 
001: LF 
002: /dbms/live/DW-GLOBAL/PV055 
003: /dbms/live/DW-GLOBAL/D_PV055 
Bottom. 
*--: EX 
Quit "PV055" in file "VOC" unchanged. 

3. Go to the unix shell and find the problem file, it will be the one
that is size 0, usually this is L1, use !sh to go to the shell and cd to
go to the DW-GLOBAL directory (your path may be different then the
example), and ls -lasi to list the files:

:! sh 
$ cd /dbms/live/DW-GLOBAL/PV055 
$ ls -lasi 
total 332 
-------------------------- Size
8913 2 drwxrwxr-x 2 dw dw 1024 Jun 27 08:34 . 
7392 246 drwxrwxr-x 3090 dw 117760 Oct 2 11:05 .. 
8914 8 -rwxrwxr-x 1 dw dw 4096 Dec 19 1997 L0 
8915 8 -rwxrwxr-x 1 dw dw 0 Dec 9 06:56 L1 <===============
8916 8 -rwxrwxr-x 1 dw dw 4096 Dec 8 10:24 L2 
8917 8 -rwxrwxr-x 1 dw dw 4096 Dec 7 11:16 L3 
8918 8 -rwxrwxr-x 1 dw dw 4096 Oct 23 11:04 L4 
8919 8 -rwxrwxr-x 1 dw dw 4096 Apr 29 1998 L5 
56999 4 -rwxrwxr-x 1 dw dw 2048 Jun 27 08:34 L6 
8920 32 -rwxrwxr-x 1 dw dw 16384 Dec 1 05:58 PV055

4. In this example the problem file is the L1 file (note the size is 0).
Copy another work file to it using the unix copy (cp) command:

cp /dbms/live/DW-GLOBAL/PV055/L2 /dbms/live/DW-GLOBAL/PV055/L1

5. List the files again to make sure the file has a size:

$ ls -lasi 
total 332 
8913 2 drwxrwxr-x 2 dw dw 1024 Jun 27 08:34 . 
7392 246 drwxrwxr-x 3090 dw 117760 Oct 2 11:05 .. 
8914 8 -rwxrwxr-x 1 dw dw 4096 Dec 19 1997 L0 
8915 8 -rwxrwxr-x 1 dw dw 4096 Dec 9 06:56 L1 
8916 8 -rwxrwxr-x 1 dw dw 4096 Dec 8 10:24 L2 
8917 8 -rwxrwxr-x 1 dw dw 4096 Dec 7 11:16 L3 
8918 8 -rwxrwxr-x 1 dw dw 4096 Oct 23 11:04 L4 
8919 8 -rwxrwxr-x 1 dw dw 4096 Apr 29 1998 L5 
56999 4 -rwxrwxr-x 1 dw dw 2048 Jun 27 08:34 L6 
8920 32 -rwxrwxr-x 1 dw dw 16384 Dec 1 05:58 PV055

6. You are done, exit the unix shell to return to Unidata.

$ exit

   

-----Original Message-----
Subject: [U2] Dataflo missing Workfile

"Cannot Update without WORKFILE - Inquiries Only" 


This is message has been scanned for viruses by Webshield E500, Groupshield for 
Exchange, and McAfee Virus Enterprise
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to