IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

If I not specify the cobol file as DD name in JCL, what happ


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
seshareddy_p

New User


Joined: 16 Jun 2005
Posts: 7

PostPosted: Fri Nov 04, 2005 2:59 pm
Reply with quote

Hi,

I have one doubt on 'dd names'. please clarify.........

select 'filename' assign to 'dd name' the file opend in output mode.

in my job card i did not specify the dd name.

What will happen?

I think the query is clear.

Thanks & Regards
Seshu
Back to top
View user's profile Send private message
paulstephen

New User


Joined: 20 Oct 2005
Posts: 20
Location: Chennai

PostPosted: Fri Nov 04, 2005 4:09 pm
Reply with quote

It will not show an error.
But its purpose will not be solved.
For eg: u r writting to a file... the write statment will be sucessful, but it will not be written in the file.
The same for read as well.
Back to top
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 677
Location: NJ

PostPosted: Wed Nov 09, 2005 10:04 am
Reply with quote

hi frnd,
without specifying the DD name how the file will get opened. it will throw the error. check it. the error no will be in 30 to 39 series not clear.
Back to top
View user's profile Send private message
sathish_rathinam

New User


Joined: 22 Aug 2005
Posts: 59
Location: india

PostPosted: Wed Nov 09, 2005 4:47 pm
Reply with quote

hi,

if u fail to specify the ddname for a file in jcl ,u will get file status error 96 saying "NO DD STATEMENT SPECIFIED FOR THE FILE".

regards,
sathish
Back to top
View user's profile Send private message
ikumar

New User


Joined: 02 Aug 2005
Posts: 81

PostPosted: Wed Nov 09, 2005 6:09 pm
Reply with quote

I agree with satish...it gives file status code 96.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 1
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top