Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

a question regarding display upon console

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: a question regarding display upon console
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: 2150
Location: At my coffee table

PostPosted: Fri Apr 04, 2008 4:40 pm    Post subject:
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    Post subject:
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: 2150
Location: At my coffee table

PostPosted: Fri Apr 04, 2008 6:34 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Fri Apr 04, 2008 7:33 pm    Post subject: Reply to: a question regarding display upon console
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    Post subject:
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: 2150
Location: At my coffee table

PostPosted: Tue Apr 08, 2008 6:26 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts QUESTION: RETURN CHANNEL pahiker CA Products 21 Thu Apr 20, 2017 12:31 am
No new posts The Last Two Question For You To Ask ... CaptBill Mainframe Interview Questions 0 Fri Apr 14, 2017 5:42 am
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts Display FTP Session Count within TSO Yolanda Harvey TSO/ISPF 3 Fri Mar 10, 2017 10:31 pm
No new posts To display values of multiple rows in... vinu78 DB2 2 Thu Mar 09, 2017 1:20 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us