× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Apparently you CAN eval the results of a bif. As Chuck points out, this
works
EVAL %substr(dsstr 5 9)
or
EVAL %substr(dsstr 5 9):x

You just can't put a ds name in the debugger like you could in RPG
EVAL %substr(dsrv0100 5 9)
CPF7E59-String type error occurred.
Cause . . . . . : The identifier in position 26 of the input buffer is
not a string.
Recovery . . . : Correct the identifier and enter the expression again
or use the :C formatting option to display the variable as a character
string. In the ILE System Debugger this is done by entering: EVAL
variable : C
And the help doesn't help with a conversion trick. IOW you can't
EVAL %substr(dsrv0100:C 5 9)
CPF7E15-Syntax error occurred.

Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.