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

a question regarding display upon console


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

New User


Joined: 15 Jun 2005
Posts: 11
Location: chennai

PostPosted: Fri Apr 04, 2008 3:50 pm
Reply with quote

guys,
i'm into VSE cobol to cobol for os/390 & VM conversion.
in the code, whic is a VSE cobol code
i have something called
display upon console & accept from console

i just want to know wat 'console' means.

also i need to know if this keyword is compatible with cobol for os/390 & VM...

help me guys...
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Fri Apr 04, 2008 4:40 pm
Reply with quote

Compatible, yes. Recomended, no...
Look at the DISPLAY/ACCEPT and the SPECIAL-NAMES paragraph in the COBOL manual.
Back to top
View user's profile Send private message
moore

New User


Joined: 15 Jun 2005
Posts: 11
Location: chennai

PostPosted: Fri Apr 04, 2008 5:09 pm
Reply with quote

thanks for the reply cics guy,
may i know why is it not recommended for cobol for os/390 & VM?

and how can we overcome it? i mean can we replace it with some other word or something?
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Fri Apr 04, 2008 6:34 pm
Reply with quote

Generally, the console is just too busy to observe anything and expection ops to respond is a real production bottleneck.
Display without the upon will put the message to standard sysout and accept without the from will get the data from standard sysin.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Apr 04, 2008 7:33 pm
Reply with quote

display upon console and accept from console

are issues that should have been analyzed when planning the conversion
and clear directives should have been given on how to convert these statements ...

...use the parm approach,
...define a standardized ddname from where to read the string being currently accepted from the console
Back to top
View user's profile Send private message
moore

New User


Joined: 15 Jun 2005
Posts: 11
Location: chennai

PostPosted: Tue Apr 08, 2008 1:28 pm
Reply with quote

thanks for all ur comments guys!

i have another question for y'all

does cobol for os/390 support c01?
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Tue Apr 08, 2008 6:26 pm
Reply with quote

moore wrote:
does cobol for os/390 support c01?
Did you bother to look at the SPECIAL-NAMES paragraph in the COBOL manual?
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 Question for file manager IBM Tools 7
No new posts question for Pedro TSO/ISPF 2
No new posts question on Outrec and sort #Digvijay DFSORT/ICETOOL 20
No new posts How to display the leading zeros of a... DB2 7
No new posts Console Commands All Other Mainframe Topics 4
Search our Forums:

Back to Top