I have a file named:
WMBLCK
There are 2 key fields:
WBCUST (Type = S, Length = 5, Decimals = 0)
WBBLCK (Type = S, Length = 1, Decimals = 0)
In my program I take two variables and combine them into a variable named CUSTNUMBLCK. CUSTNUMBLCK is 6 digits with 0 decimals)
I want to chain to WMBLCK using CUSTNUMBLCK, but when I compile it tells me that the CUSTNUMBLCK's length is not the same as the first key field in WMBLCK.
How do I code my program to look at both key fields when chaining? I was looking at klist but not sure if that's what I should use and if so how to use it
Thanks in advance for any and all help.
WMBLCK
There are 2 key fields:
WBCUST (Type = S, Length = 5, Decimals = 0)
WBBLCK (Type = S, Length = 1, Decimals = 0)
In my program I take two variables and combine them into a variable named CUSTNUMBLCK. CUSTNUMBLCK is 6 digits with 0 decimals)
I want to chain to WMBLCK using CUSTNUMBLCK, but when I compile it tells me that the CUSTNUMBLCK's length is not the same as the first key field in WMBLCK.
How do I code my program to look at both key fields when chaining? I was looking at klist but not sure if that's what I should use and if so how to use it
Thanks in advance for any and all help.