Hello Everyone,
I wanted to do a SUBSTR function in C++ to split out a particular string value like
Var2=SUBSTR(var, start_pos,length);
I found similar example to do the substring, which is like below
std::string str = (*x)->daytxt;
std::string str2=str.substr(1,10);
The Above function is having an issue while doing link-editing the Object module. am getting below errors,
IEW2456E 9207 SYMBOL _Xran__Q2_3std12_String_baseCFv UNRESOLVED. MEMBER COULD NOT BE INCLUDED FROM THE DESIGNATED CALL LIBRARY.
IEW2456E 9207 SYMBOL _Xlen__Q2_3std12_String_baseCFv UNRESOLVED. MEMBER COULD NOT BE INCLUDED FROM THE DESIGNATED CALL LIBRARY.
Please suggest me if there is any way to fix this issue in Z/OS compilation. If there is any SYSLIB or DLL that has to be added for using this function.
Thank you.
Jeeva_S35