View previous topic :: View next topic
|
Author |
Message |
Ganesh Kalam Warnings : 1 New User
Joined: 11 Aug 2005 Posts: 45 Location: India
|
|
|
|
HI FRIENDS
IS FILE STATUS CLAUSE MANDATORY IN THE FILE-CONTROL PARAGRAPH OF INPUT-OUTPUT SECTION. |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
No...It is not mandatory.
Regards,
Priyesh. |
|
Back to top |
|
|
Prasanthhere
Active User
Joined: 03 Aug 2005 Posts: 306
|
|
|
|
No file status code is not mandatory .Just 2 check the ststus of the file we r opening we are using that status Variable |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
If you don't use file status for non-VSAM files the pgm will abend on an I/O error.
If you don't use file status for VSAM files the pgm will NOT abend on an I/O error, but may abend when it tries to use the data that never arrived.
If that happens consider yourself lucky. The last thing you want to happen is have the job terminate successfully, but without the correct data. |
|
Back to top |
|
|
|