Page 1 of 1

use of display-1

PostPosted: Mon Jun 07, 2010 12:39 pm
by halfrida
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?

Re: use of display-1

PostPosted: Mon Jun 07, 2010 2:55 pm
by Robert Sample
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.

Re: use of display-1

PostPosted: Mon Jun 07, 2010 4:51 pm
by halfrida
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.

Re: use of display-1

PostPosted: Mon Jun 07, 2010 5:14 pm
by Robert Sample
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.