MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem writing the O/P file

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
Vinodch
Beginner


Joined: 23 Dec 2002
Posts: 80
Topics: 32
Location: Chennai, India

PostPosted: Mon Nov 28, 2005 2:58 am    Post subject: Problem writing the O/P file Reply with quote

O/P file defined in the SELECT STATEMENT of the COBOL program but not defined in the JCL - respective DD statement is not mentioned in the file but still in the program the WRITE operation is performed successfully. How this is possible Confused ?
_________________
Thanks,
Vinod.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Mon Nov 28, 2005 5:37 am    Post subject: Reply with quote

Vinodch,

Your Write was successful because of the Language environment parameter CBLQDA . CBLQDA(ON) is the setting that dynamically allocates with DISP=(NEW,DELETE,DELETE) file when an output DD name is opened but missing from the TIOT.

Check this link for a detailed explanation.

http://www.mvsforums.com/helpboards/viewtopic.php?p=19998#19998

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu


Last edited by kolusu on Mon Nov 28, 2005 8:03 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Cogito-Ergo-Sum
Advanced


Joined: 15 Dec 2002
Posts: 637
Topics: 43
Location: Bengaluru, INDIA

PostPosted: Mon Nov 28, 2005 12:53 pm    Post subject: Reply with quote

Vinod,
When you are saying that the WRITE is successful, do you mean that, the record is written AND the output file is also created ?

If the file is created, then I would guess that there is a program specific to your site that is doing dynamic allocation. The LE dynamic allocation will not come in affect here as the DISP=(NEW,DELETE,DELETE) (as mentioned by Kolusu).
_________________
ALL opinions are welcome.

Debugging tip:
When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.
-- Sherlock Holmes.
Back to top
View user's profile Send private message
Vinodch
Beginner


Joined: 23 Dec 2002
Posts: 80
Topics: 32
Location: Chennai, India

PostPosted: Fri Dec 02, 2005 2:43 am    Post subject: Reply with quote

Yes our LE environment has CBLQDA(ON) that' Very Happy s the reason the write was successful. I tried the job with CBLQDA(OFF) the job abended.

Thanks Kolusu & Cogito-Ergo-Sum.

I could also able to list down the various default option for the LE - Are there any links that explains what for the each option stands for ?

Any Help Appreciated !.
_________________
Thanks,
Vinod.
Back to top
View user's profile Send private message
Phantom
Data Mgmt Moderator
Data Mgmt Moderator


Joined: 07 Jan 2003
Posts: 1056
Topics: 91
Location: The Blue Planet

PostPosted: Fri Dec 02, 2005 4:01 am    Post subject: Reply with quote

Vinodch,

Check this link.
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/CEEA5130/CCONTENTS?DT=20020625085759

Hope this helps,

Thanks,
Phantom
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group