Can we Display sth without OAH ?
For Example:
First , Display the char 'A ',
Second , Display the char 'B'
The screen will show 'AB'
Not A
B
Robert Sample wrote:Personally, I don't know what "sth" or "OAH" mean -- could you explain, please?
Find a COBOL Language Reference manual and research the WITH NO ADVANCING option of the DISPLAY statement.
Robert Sample wrote:In COBOL terms, then, sth is an alphanumeric variable while OAH does not exist in COBOL since there is no such thing as a "newline" -- in fact, if you search the COBOL Language Reference manual, there are no occurrences of the term "newline" at all.
Do yourself a big favor and learn to use the COBOL terms -- otherwise you will not be understood by COBOL programmers, and you will be showing incredible disrespect for the more than 50 years of COBOL development of terminology. For example, COBOL does not have strings -- COBOL has variables. These variables can be numeric (in at least 4 different types as well as different lengths), alphabetic, national, or alphanumeric but they are never, ever "strings".