Skip to main content

Server Name

  • July 8, 2015
  • 2 replies
  • 0 views

From within a exit process. How can I found out the Enterprise server name the job is running in.

Would like to be able to add the Enterprise Server name as part of the print banner page so that you can see from which environment the printout originated. 

This will be in the Printer Exit module.


#EnterpriseDeveloper

2 replies

From within a exit process. How can I found out the Enterprise server name the job is running in.

Would like to be able to add the Enterprise Server name as part of the print banner page so that you can see from which environment the printout originated. 

This will be in the Printer Exit module.


#EnterpriseDeveloper

Hi Riaan

The ES_SERVER environment variable should have this information.

Use the COBOL ACCEPT FROM ENVIRONMENT-VALUE syntax to access it..

Regards

David


From within a exit process. How can I found out the Enterprise server name the job is running in.

Would like to be able to add the Enterprise Server name as part of the print banner page so that you can see from which environment the printout originated. 

This will be in the Printer Exit module.


#EnterpriseDeveloper

Thank you. Implemented and it works.