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. Continue reading...