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

Clarification in display statement: FTW UPON SYSOUT


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kbmkris

Active User


Joined: 24 Jun 2006
Posts: 101

PostPosted: Mon Aug 13, 2007 3:00 pm
Reply with quote

hi,

Code:
DISPLAY ' ERROR STATUS= ' FTW UPON SYSOUT.


Can anyone of you let me know what the above display statement will do?

Thanks,
Bala
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Mon Aug 13, 2007 3:34 pm
Reply with quote

It simply means that the message will be written to SYSOUT, instead to the default system's logical output device.

O.
Back to top
View user's profile Send private message
William Thompson

Global Moderator


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

PostPosted: Mon Aug 13, 2007 3:35 pm
Reply with quote

It will display the literal ' ERROR STATUS= ' and the value of the variable FTW on SYSOUT.
Back to top
View user's profile Send private message
kbmkris

Active User


Joined: 24 Jun 2006
Posts: 101

PostPosted: Mon Aug 13, 2007 3:37 pm
Reply with quote

hi,

Thanks for your reply. What is meant by FTW?

Thanks,
Bala
Back to top
View user's profile Send private message
William Thompson

Global Moderator


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

PostPosted: Mon Aug 13, 2007 3:46 pm
Reply with quote

FTW may mean something to the original programmer, but it is just a dataname.....
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Mon Aug 13, 2007 6:05 pm
Reply with quote

Search the program for a variable named FTW.

O.
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts JOIN STATEMENT PERFORMANCE. DFSORT/ICETOOL 12
No new posts Copy few lines from SYSOUT of 10 mill... All Other Mainframe Topics 5
No new posts How to display the leading zeros of a... DB2 7
No new posts Relate COBOL statements to EGL statement All Other Mainframe Topics 0
No new posts No sysout coming in spool JCL & VSAM 4
Search our Forums:

Back to Top