View previous topic :: View next topic
|
Author |
Message |
santosh100678
New User
Joined: 21 Sep 2009 Posts: 55 Location: Kolkatta
|
|
|
|
Hi,
requirement is writing record in empty ESDS file thro sequential file input.
For this i do following steps .
1.I have already one program in library which intilize the file
means thro' jcl i intilize the file, but when i want to write record in esds
file thro' sequential file then always I use extend mode for writing record in ESDS esds file .when i open my esds file in output mode or Input-output mode then unable to insert face file satus=48.
Then i check this file record after initializing then found that one blank record is inserted always . |
|
Back to top |
|
|
rexzone1
New User
Joined: 16 Dec 2006 Posts: 14 Location: Halifax, Canada
|
|
|
|
Satish,
Please provide some more clarification on the issue you are facing.
Also provide the job step that you are using. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
A file status 48 means
Quote: |
The execution of a WRITE statement was
attempted on a file not open in the
I-O, output, or extend mode. |
so either your OPEN is failing or your program logic is wrong. Please use BBcode and post the JCL DD statement for your ESDS file, the SELECT statement, the OPEN you are using, and the WRITE that is getting the 48 file status code. |
|
Back to top |
|
|
|