Comparing a X(12) field against 9(9)v99 field.

This is a Mainframe COBOL forum - you can post your queries on Mainframe COBOL, VS COBOL II, COBOL/370 , Enterprise COBOL

Moderators: dbzTHEdinosauer, Moderator Group

Post Reply
User avatar
arrbee
Active Member
Posts: 144
Joined: Fri Feb 24, 2006 11:33 am

Comparing a X(12) field against 9(9)v99 field.

Post by arrbee » Sun Feb 25, 2007 1:05 pm

Hi,

I receive a X(12) field from a MAP and need to compare it with a 9(9)V99 field in a batch job.

I was able to compare when the v99 was not there for the numeric field.

Please help me ASAP.

Thanks. :D
Arr Bee
-------------
?My joy in learning is partly that it enables me to teach? - Seneca(Roman philosopher, mid-1st century AD)

User avatar
muraligaru1
Moderator
Posts: 43
Joined: Sat Nov 11, 2006 7:03 pm

Post by muraligaru1 » Sun Feb 25, 2007 10:33 pm

Hi Arrbee,


Can you provide some more info.. like what is the format of X(12).

Is it like 9999999999.99




Regards,
Murali.

User avatar
rangab
Active Member
Posts: 56
Joined: Fri Mar 17, 2006 3:21 pm

Post by rangab » Tue Feb 27, 2007 3:37 pm

sometimes it get the value in that format too.........
========
Ranga...:-0)
========
Learn Which You Don't Know - Teach Others Which They Don't Know.

Post Reply

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



Other References
Mainframe Tools and others