View previous topic :: View next topic
|
Author |
Message |
sakthi_ksv
New User
Joined: 20 Jul 2006 Posts: 48 Location: Chennai
|
|
|
|
Hi,
recently I was asked a question in an intracompany interview. The question is, a job coded as sysout routed to spool, but the program the job executes has no display statement. will the job abend?? |
|
Back to top |
|
|
Devzee
Active Member
Joined: 20 Jan 2007 Posts: 684 Location: Hollywood
|
|
|
|
Have you tried your question? what exactly happens? |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
Why would you even think that an unused sysout would cause an abend? |
|
Back to top |
|
|
a027412
New User
Joined: 05 Jul 2007 Posts: 40 Location: Minneapolis, MN
|
|
|
|
i dont think the job will abend, unless there is some other reasons |
|
Back to top |
|
|
sakthi_ksv
New User
Joined: 20 Jul 2006 Posts: 48 Location: Chennai
|
|
|
|
The interviewer told that the job will abend. I want to make sure that. So if anyone aware of this. Please let me know. the results. I havent tried yet because I am in bench, so i dont have a MF id to test that. So could anyone try this and let me know the results.
Thanks in advance,
Sakthivel |
|
Back to top |
|
|
prasadvrk
Active User
Joined: 31 May 2006 Posts: 200 Location: Netherlands
|
|
|
|
No way the job would abend, only the SYSOUT will be missing in the spool. |
|
Back to top |
|
|
kgumraj
Active User
Joined: 01 May 2006 Posts: 151 Location: Hyderabad
|
|
|
|
Hi,
The interviewer was correct, When there are no display, Yet you get SYSOUT in spool in few cases like,
SOC7
SOC4 etc |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Unused/unopened SYSOUT= DD statements will not cause an abend. The worst thing they usually do is cause confusion.
And yes, even of the code does not issue a "display", there may still be one or more SYSOUT= outputs created by the system.
I believe this
Quote: |
The interviewer told that the job will abend |
was due to misunderstanding each other. |
|
Back to top |
|
|
|