Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi ! I have a JCL for sort and i

Status
Not open for further replies.

Idiot

Programmer
Oct 8, 2000
26
0
0
US
Hi !

I have a JCL for sort and include. I need to include only those records who have zero values in positions 140 to 143.The field in this position is a Binary field defined as PIC S9(9) COMP.

How to code INCLUDE CONDITION FOR THIS CASE?

IF it is a alphanumeric field i would code

INCLUDE COND = (140,3,CH,EQ C'0000').

How to do for a binary field?

Thanks ....
 
It should be as simple as changing your 'CH' in the include statement to 'BI' (Binary).

Other legitimate values for this include condition would also be PD, Packed Decimal, ZD, Zoned Decimal and, I believe, FI, Fixed Integer.

Hope this helps.

s-)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top