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

  • Author
  • Rocketeer
  • 19312 replies
  • July 8, 2015

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


  • Author
  • Rocketeer
  • 19312 replies
  • July 9, 2015

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.