Page 1 of 1

selcase, include error

Posted: January 5th, 2017, 4:32 am
by Enkhbayar
When I try to include section in selcase I had faced error. does anyone know what is the reason?

code is:
dist1="0101";
selcase(SECTOR_DICT,dist1) include(sec_name) ;

$=SEC_ID;

it returns the error: ERROR: Selcase can only include Single variables of same Dict near line 5 in CODE1 procedure

Re: selcase, include error

Posted: January 5th, 2017, 7:06 am
by khurshid.arshad
Dear Enkhbayar

Max number of lines should be "1" in External dictionary. For reference see attached file. If Max lines is more than "1" then you will get this error message.
a.

Re: selcase, include error

Posted: January 5th, 2017, 7:36 am
by Enkhbayar
thanks a lot Khurshid