Hello!
Struggling with a CL-program where I need to test a variable defined as *PTR type for a *null value.
DCL VAR(&LP) TYPE(*PTR)
IF COND(&LP *EQ *NULL) THEN(DO)
Gives me a compiler error:
* CPD0711 30 Operands in expression not same type.
Anybody know what to do?
Regards
Stefan Tageson
AddconIT AB
S:t Gertrudsgatan 3, SE-211 25 Malmö, Sweden
Cell : +46 (0) 732 36 99 34
stefan.tageson@xxxxxxxxxxx<mailto:stefan.tageson@xxxxxxxxxxx>
http://www.addconit.se/
--
-------------------- Internet e-Mail Disclaimer --------------------
This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient you are notified that any use, disclosure, copying or distribution of the information is prohibited. In such case, you should destroy this message and kindly notify the sender by reply e-mail.The views expressed in this e-mail and any attachments are personal and, unless stated explicitly, do not represent the views of AddconIT. Furthermore, AddconIT will not be bound by this e-mail.
As an Amazon Associate we earn from qualifying purchases.