---
title: "COBOL Low Values Vs High Values"
description: "Low values and High values in COBOL explained with examples"
url: https://srinimf.com/2013/08/18/cobol-low-values-and-high-values/
date: 2013-08-18
modified: 2026-10-10
author: "Srini"
image: https://i0.wp.com/srinimf.com/wp-content/uploads/2013/08/pexels-photo-3184430.jpeg?fit=1880%2C1253&ssl=1
categories: ["COBOL"]
tags: ["COBOL Tips and Tricks", "Low Values in COBOL"]
type: post
lang: en
---

# COBOL Low Values Vs High Values

The meaning for low values is nothing is less than this. The value for high value is nothing is greater than this.

Advertisements

## [How to](https://srinimf.com/2012/11/30/how-to-run-cobol-program-on-unix/) Work with COBOL Low-values and High-values

### [How to use](https://srinimf.com/2018/04/04/sql-query-insert-values/) this concept?

01  WS-X               PIC 9999.

01  WS-Y               PIC 9999.

Related[COBOL GT Spaces and NE Spaces](https://srinimf.com/2016/06/16/cobol-gt-spaces-and-ne-spaces/)

[MOVE LOW](https://srinimf.com/2010/04/04/cobol-stuff/)-VALUES  TO WS-X
MOVE HIGH-VALUES TO WS-Y

Related[Cobol- Signed Number and Memory](https://srinimf.com/2012/04/11/cobol-signed-number-and-memory/)

Low values/High values are basically CHARs. So we can’t move.

01  WS-X               PIC X(4).
01 WS-Y               PIC X(4).

The high values [and low values](https://srinimf.com/2021/09/05/how-to-check-comp-variable-for-spaces-and-low-values/) are expressly alphanumeric items consisting of strings of X’FF’ or X’00’ respectively.

MOVE LOW-VALUES  TO WS-X
MOVE HIGH-VALUES TO WS-Y

In this case we can move without compilation error.

Related Posts

- [COBOL INSPECT Useful Logic to Find Spaces in String](https://srinimf.com/2016/06/28/how-to-find-number-of-spaces-in-a-string-using-inspect/)DateJune 28, 2016
- [COBOL Moving Decimal to Numeric Best Example](https://srinimf.com/2016/02/09/cobol-solution-decimal-move-to-numeric/)DateFebruary 9, 2016
- [COBOL String modification idea using pointer statement](https://srinimf.com/2012/03/28/cobol-string-modification/)DateMarch 28, 2012

Get new content delivered directly to your inbox.

Type your email…

Sign up

### Share this:

-
- [Tweet](https://twitter.com/share)
- [![](https://i0.wp.com/assets.pinterest.com/images/pidgets/pinit_fg_en_rect_gray_20.png)](https://www.pinterest.com/pin/create/link/?url=https%3A%2F%2Fsrinimf.com%2F2013%2F08%2F18%2Fcobol-low-values-and-high-values%2F&media=https%3A%2F%2Fi0.wp.com%2Fsrinimf.com%2Fwp-content%2Fuploads%2F2013%2F08%2Fpexels-photo-3184430.jpeg%3Ffit%3D1200%252C800%26ssl%3D1&description=COBOL%20Low%20Values%20Vs%20High%20Values)
-
- [Share on Tumblr](https://www.tumblr.com/share)
- [Share on WhatsApp (Opens in new window) WhatsApp](https://srinimf.com/2013/08/18/cobol-low-values-and-high-values/?share=jetpack-whatsapp)
- [More](#)
-

- [Print (Opens in new window) Print](https://srinimf.com/2013/08/18/cobol-low-values-and-high-values/?share=print)
- [Share on Reddit (Opens in new window) Reddit](https://srinimf.com/2013/08/18/cobol-low-values-and-high-values/?share=reddit)
- [Share on Telegram (Opens in new window) Telegram](https://srinimf.com/2013/08/18/cobol-low-values-and-high-values/?share=telegram)
- [Email a link to a friend (Opens in new window) Email](mailto:?subject=%5BShared%20Post%5D%20COBOL%20Low%20Values%20Vs%20High%20Values&body=https%3A%2F%2Fsrinimf.com%2F2013%2F08%2F18%2Fcobol-low-values-and-high-values%2F&share=email)
-

### Like this:

Like Loading…