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
 
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: 10327
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 about dfsms management clas... Hervey Martinez IBM Tools 0 Tue Oct 10, 2017 6:19 pm
No new posts display the sign only if the value is... useit DFSORT/ICETOOL 3 Wed Oct 04, 2017 5:53 pm
No new posts Binary to display characters Roy Ware SYNCSORT 3 Tue Sep 19, 2017 8:46 pm
No new posts DB2 NULL Values display V S Amarendra Reddy DB2 3 Thu Sep 07, 2017 6:59 pm
No new posts Question related to Data dictionary f... rexx77 SYNCSORT 3 Thu Aug 31, 2017 7:23 am

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