Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Sysout routed to spool but no display stmt in pgm??

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
sakthi_ksv

New User


Joined: 20 Jul 2006
Posts: 48
Location: Chennai

PostPosted: Mon Jul 09, 2007 10:54 am    Post subject: Sysout routed to spool but no display stmt in pgm??
Reply with quote

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
View user's profile Send private message

Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Mon Jul 09, 2007 11:04 am    Post subject:
Reply with quote

Have you tried your question? what exactly happens?
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Mon Jul 09, 2007 11:08 am    Post subject:
Reply with quote

Why would you even think that an unused sysout would cause an abend?
Back to top
View user's profile Send private message
a027412

New User


Joined: 05 Jul 2007
Posts: 40
Location: Minneapolis, MN

PostPosted: Mon Jul 09, 2007 11:25 am    Post subject: Re: Sysout routed to spool but no display stmt in pgm??
Reply with quote

i dont think the job will abend, unless there is some other reasons
Back to top
View user's profile Send private message
sakthi_ksv

New User


Joined: 20 Jul 2006
Posts: 48
Location: Chennai

PostPosted: Mon Jul 09, 2007 1:03 pm    Post subject:
Reply with quote

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
View user's profile Send private message
prasadvrk

Active User


Joined: 31 May 2006
Posts: 200
Location: Netherlands

PostPosted: Mon Jul 09, 2007 1:20 pm    Post subject:
Reply with quote

No way the job would abend, only the SYSOUT will be missing in the spool.
Back to top
View user's profile Send private message
kgumraj

Active User


Joined: 01 May 2006
Posts: 151
Location: Hyderabad

PostPosted: Thu Jul 19, 2007 8:28 pm    Post subject: Re: Sysout routed to spool but no display stmt in pgm??
Reply with quote

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
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Jul 19, 2007 8:41 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts display the sign only if the value is... useit DFSORT/ICETOOL 3 Wed Oct 04, 2017 5:53 pm
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts Spool Extract for Z /os 1.04 version Khadhar Basha CLIST & REXX 3 Thu Sep 28, 2017 3:14 pm
No new posts Binary to display characters Roy Ware SYNCSORT 3 Tue Sep 19, 2017 8:46 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us