Reputation: 1
I tried the below code, which should return 123 in lv_id but returning '123/USER@PROSENJIT'.
IF LOOKUP('PF', 'PF/123/USER@PROSENJIT', '/') > 0 THEN
DO:
ASSIGN
lv_id = ENTRY(2,'PF/123/USER@PROSENJIT','/':U)
END.
Can anyone please let me what is the wrong here.
Upvotes: 0
Views: 720
Reputation: 3251
I tried this and it worked:
if LOOKUP('PF', 'PF/123/USER@PROSENJIT', '/') > 0 then
message ENTRY(2,'PF/123/USER@PROSENJIT','/':U).
I'm thinking there's something else going on that's causing your difficulty.
Upvotes: 2