Log all Session Variables


Well, we are moving forward on our migration.
Is there a way to Log all Variables (Natparm, Env, Wrkf & Etc) for each script?
I mean, now I log all output for each script to a log file, I want to log all variable in that execution.
Is there any user exit for that?

With Regards,

Not sure if you get everything you want, but try this command


On Linux that will dump all the current environment variables

Note: when running Natural BATCHMODE, all the workfiles are typically set to environment variables; unless assigned inline by the program

Depending on what other information you might need, check the SYSEXT objects.