Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
writing record in esds file after intializing

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
santosh100678

New User


Joined: 21 Sep 2009
Posts: 55
Location: Kolkatta

PostPosted: Thu Sep 24, 2009 7:56 pm    Post subject: writing record in esds file after intializing
Reply with quote

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
View user's profile Send private message

rexzone1

New User


Joined: 16 Dec 2006
Posts: 14
Location: Halifax, Canada

PostPosted: Wed Dec 30, 2009 12:34 am    Post subject: Reply to: writing record in esds file after intializing
Reply with quote

Satish,

Please provide some more clarification on the issue you are facing.
Also provide the job step that you are using.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Wed Dec 30, 2009 1:06 am    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us