```
 IF AWA-REQ-DATE < WS-JULIAN-DATE
    MOVE VAR1 to VAR2

```

The AWA-REQ-DATE is a binary integer i.e. PIC S9(09) COMP, whereas Julian date is PIC X(10) VALUE SPACES.

Both have Julian date inside them like 2013031 & 2013099.

This gives: 

ERROR:REQ-DATE (BINARY INTEGER)" was compared with "WS-JULIAN-date (ALPHANUMERIC)". Discarded

Can I compare then with converting one of them to other format right here in code?