Microfocus to mainframe cobol
Moderators: dbzTHEdinosauer, Moderator Group
-
- Member
- Posts: 3
- Joined: Wed Jun 19, 2013 11:31 am
Microfocus to mainframe cobol
How to implement LOGICAL OPERATOR (OR,AND,XOR) microfocus cobol commands in mainframe cobol??
Is there any way to map microfocus cobol command to maiframe cobol????
Is there any way to map microfocus cobol command to maiframe cobol????
-
- Active Member
- Posts: 732
- Joined: Thu May 24, 2012 4:07 am
If you look at your documentation, you'll find how to tell the compiler to do different things. Micro Focus COBOL "knows" about Mainframe COBOL.
However, there is no way to get Mainframe COBOL to understand syntax which Mainframe COBOL does not support.
Mainframe COBOL manuals are available from IBM. Find them. Look for XOR in the index. Then show the code that you have, for suggestions on how to do what you want on the Mainframe.
When writing COBOL for a "target" compiler, you should always find out FIRST what that compiler supports.
However, there is no way to get Mainframe COBOL to understand syntax which Mainframe COBOL does not support.
Mainframe COBOL manuals are available from IBM. Find them. Look for XOR in the index. Then show the code that you have, for suggestions on how to do what you want on the Mainframe.
When writing COBOL for a "target" compiler, you should always find out FIRST what that compiler supports.
-
- Member
- Posts: 3
- Joined: Wed Jun 19, 2013 11:31 am
-
- Member
- Posts: 3
- Joined: Wed Jun 19, 2013 11:31 am
Probably not as you wish . . .
The last time i used MicroFocus COBOL, the documentation was rather clear about what was mainframe compatible and what was not.
When you mention these functions you Are talking about bit-level operations? Someone could probably write callable assembler code to do what you want.
The last time i used MicroFocus COBOL, the documentation was rather clear about what was mainframe compatible and what was not.
When you mention these functions you Are talking about bit-level operations? Someone could probably write callable assembler code to do what you want.
Have a good one
-
- Active Member
- Posts: 732
- Joined: Thu May 24, 2012 4:07 am
As I already said, show what you have done, sample inputs, expected output, and you'll get some suggestions. No, there is no direct IBM COBOL support currently for bit operations.
Or just poke this into your preferred internet search, enterprise cobol bit manipulation, and continue your extensive research.
Although IBM COBOL has no support for it, we've managed to do it for many years, when needed.
You just need to think of the affects of AND, OR and XOR, and work out how to achieve the same result using maths, for instance. There is now also some support from Language Environment Callable Services.
Or just poke this into your preferred internet search, enterprise cobol bit manipulation, and continue your extensive research.
Although IBM COBOL has no support for it, we've managed to do it for many years, when needed.
You just need to think of the affects of AND, OR and XOR, and work out how to achieve the same result using maths, for instance. There is now also some support from Language Environment Callable Services.
-
- Moderator
- Posts: 1625
- Joined: Sat Aug 09, 2008 9:02 am
- Location: Mumbai, India
Your best bet appears to be 'CEESITST', as it exist in z/OS COBOL - see if this helps you:
http://esj.com/articles/2000/09/01/call ... level.aspx
http://esj.com/articles/2000/09/01/call ... level.aspx
Regards,
Anuj
Anuj
FREE TUTORIALS
Tutorials
Free tutorials from mainframegurukul
- JCL Tutorial
Covers all important JCL concepts. - Cobol Tutorial
This tutorials covers all Cobol Topics from STRING to COMP-3. - DB2 Tutorial
DB2 Tutorial focuses on DB2 COBOL Programming. - SORT Tutorial
This Tutorial covers all important aspects of DFSORT with examples - CICS Tutorial
This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions
- Cobol Interview Questions
50+ Interview Questions - JCL Interview Questions
50+ Interview Questions - DB2 Interview Questions
100+ Interview Questions - CICS Interview Questions
70+ Interview Questions - VSAM Interview Questions
27 Interview Questions
Other References
Mainframe Tools and others
- XPEDITER Reference
Explains how we can debug a program - FILEAID Reference
Explains how to browse , edit and delete datasets - Change Man Reference
Quick Start tutorial on Changeman - Abend Reference
Important Abend codes explained - FaceBook Page
MainframeGurukul FaceBook Page - LinkedIn Page
MainframeGurkul Linkedin Page