use of display-1



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

use of display-1

Postby halfrida » Mon Jun 07, 2010 12:39 pm

What is the use of display-1 and display-2? Is it used in IBM cobol? If not, what is its equivalent function in IBM cobol?
halfrida
 
Posts: 9
Joined: Mon Jun 07, 2010 12:19 pm
Has thanked: 0 time
Been thanked: 0 time

Re: use of display-1

Postby Robert Sample » Mon Jun 07, 2010 2:55 pm

Neither is used in any version of mainframe COBOL that I'm aware of. Before we could tell you any equivalent function, you would have to tell us what they do.
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: use of display-1

Postby halfrida » Mon Jun 07, 2010 4:51 pm

i came across it in VS cobol. it is for displaying string data in double byte characters..am not sure about the detailed function..i have searched a lot about it..i want to know about its detailed usage.
halfrida
 
Posts: 9
Joined: Mon Jun 07, 2010 12:19 pm
Has thanked: 0 time
Been thanked: 0 time

Re: use of display-1

Postby Robert Sample » Mon Jun 07, 2010 5:14 pm

Enterprise COBOL supports use of USAGE DISPLAY-1 for DBCS data. You can find plenty about DBCS in the COBOL manuals or by using Google.
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post