Hi,
I am stuck with validating few fields for uniqueness.
There is main screen which has a subfile format and a control format.The subfile fields are populated to an array.There is also another window which is also a subfile and populated to a different array.There are same two fields field1 and field2 in all these formats.
Now i have to validate such that each value entered is unique for field2.
I dont have idea of comparing these two arrays and the control format
sub file format and window format looks like this:
Field1...........field2
AAAA ...........123456
bbbb.............123457
...
...
(sflsiz = 99)
control format
Field1...........field2
cccc....................124589
anyone knows how to do this.I am coding in COBOL.
Thanks
Sudarshan
I am stuck with validating few fields for uniqueness.
There is main screen which has a subfile format and a control format.The subfile fields are populated to an array.There is also another window which is also a subfile and populated to a different array.There are same two fields field1 and field2 in all these formats.
Now i have to validate such that each value entered is unique for field2.
I dont have idea of comparing these two arrays and the control format
sub file format and window format looks like this:
Field1...........field2
AAAA ...........123456
bbbb.............123457
...
...
(sflsiz = 99)
control format
Field1...........field2
cccc....................124589
anyone knows how to do this.I am coding in COBOL.
Thanks
Sudarshan
Comment