I have to generate a standard helproutine by executing a program.
i am using user exit USR2014N to open a new session and writting the help routine.
Also i am using USR0210N to catalog it, where the problem comes.
The default mode for natural is Reporting and my routine is in Structured thus not cataloging it.
I have tried SET GLOBLALS SM=ON and STACK TOP COMMAND but it doesn’t work out.
I can’t even use USR1002N to restore the SM as the save point SM would also be reporting.
Please suggest some solution to the problem.