Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 7936
Location: Bellevue, IA

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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us