Your java app call sql.
sql call cl.
Now in a cl, you can do anything a cl can.
You have qualified (ie add a library name) your external name. This means that your library list is probably the stansard sql libl : ie nothing.
if this is true, you can do :
- qualify your call to cobol
- before calling proc_name, call sql with “set path = *libl” (syntax to be checked)
- in the cl, add a chglibl