Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

88 Usage Question

Status
Not open for further replies.

TJ73

Programmer
Joined
Nov 14, 2023
Messages
8
Location
US
Hello to all.
First time.

While looking at some legacy code . . .

01 DATA-TO-PROCESS.
03 DATA-FIELD-01 PIC X.
88 DF1-YES VALUE 'Y' 'Y'.
88 DF1-NO VALUE 'N'.

. . . what is the significance, purpose or benefit of doubling down on 'Y' ???

Regards -

TJ

 
. . . I just thought its because "Y" is NE "y" and the original coder forgot their Cap Lock was left on. (???) But if that, why did they not do a "N", "n"?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top