View previous topic :: View next topic
|
Author |
Message |
atulbagewadikar
New User
Joined: 15 Jun 2006 Posts: 26
|
|
|
|
While invoking PREDICT through batch, I got following error
Code: |
NAT6504 SAG EDITOR buffer pool work file open error 4. |
How do I avoid/fix this? |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Text SAG EDITOR buffer pool work file open error ... .
Expl. During SAG EDITOR buffer pool initialization, the first access to
the work file has failed with one of the following return codes:
04: Work file cannot be opened or accessed
08: Invalid work file record length
12: Work file I/O error
16: Work file defined incorrectly or in use by another buffer pool.
Actn. Check the console operator log for more detailed messages.
Correct the problem with the work file and restart the SAG EDITOR
buffer pool. |
|
Back to top |
|
|
atulbagewadikar
New User
Joined: 15 Jun 2006 Posts: 26
|
|
|
|
Hi,
Thanks. I know what manual says and description of the error. I am looking on some help on how could we track that why the WF is not accessible and if it is being used by other application/user...how do we fix it...like through Natural Admin/DBA? |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
I' don't speak Natural, however, what Peter has posted from that, looks like work file is being used by some other application. So, have a look at the console operator log. |
|
Back to top |
|
|
Ralph Zbrog
New User
Joined: 21 Nov 2009 Posts: 58 Location: California
|
|
|
|
Start with a review of the JCL expansion in your JES output. Look in the Natural PROC for DDname CMEDIT (although your DBA has the option to use a different DDname). This is the dataset causing the NAT6504 subcode 4.
You can try a temporary fix, as follows:
- Override the DDname with
Code: |
//CMEDIT DD DSN=NULLFILE |
- Then add a NatParm override on the EXEC card with
|
|
Back to top |
|
|
|