Hi,
We are migrating Mainframe COBOL code to LINUX and this COBOL code will work both in Mainframe and Linux in MicroFocus environment. I have a requirement where i need to perform certain function based on whether i am Mainframe or Linux. Is there a system information which i can get while i am on Mainframe by using ACCEPT command or any other command which will tell me that i am on mainframe? It could be OS name or OS version or anything because it will not be same on Linux.
My only requirement is to know whether program is executing in Mainframe or LINUX. We do not want to change JCL because we have large number of JCLS to be changed.
Thanks,
Dhananjaya.