Sign - picture clause, COBOL Programming

Sign - Picture clause:

The numeric data item can be signed or unsigned. If a numeric data is regarded as unsigned then during the execution these unsigned data items are treated as positive quantities.

To explain a signed data item one must use the code character S at the leftmost end of the picture clause of the corresponding variable.

It is very important to note that internally, the operational sign (S) is not stored as a separate character. The operational sign is stored at zone bits of the rightmost digit place of the data item. While preparing a data for such an input-signed item, care must be taken to ensure that the data appears on the input medium in similar form.  

 

 

Posted Date: 10/16/2012 3:47:14 AM | Location : United States







Related Discussions:- Sign - picture clause, Assignment Help, Ask Question on Sign - picture clause, Get Answer, Expert's Help, Sign - picture clause Discussions

Write discussion on Sign - picture clause
Your posts are moderated
Related Questions
FILE CHARACTERISTICS: The task of file handling is the responsibility of the system software termed as IOCS (Input-Output control system). Record Size: We know that th

single program how may when statement has used

FILE-CONTROL: The FILE-CONTROL paragraph names each and every file and identifies the first medium through file control entries. The basic format of a file control entry is gi

SIMPLE MERGE VERB: Like sorting, the merging of files is often required in different commercial application. It is likely to merge two or more files with the help of one MERGE

cobol program for generate a eb bill

SEARCH VERB: The SEARCH verb is used to position elements in one-dimensional tables. Let us consider the following problem. Assume that each element of a table consists of thr

Data Names and Identifiers:   The Data name provides reference to the storage space in the memory where the real value is stored. This value takes part in the operation whene

SIGN CONDITION:   The sign condition establishes whether or not the algebraic value of an operand is negative, positive or zero. The operand can be either the numeric identif

FILE-CONTROL ENTRIES FOR THE SEQUENTIAL FILES: The characteristics of each and every files handled in a program are specified in the ENVIRONMENT DIVISION and DATA DIVISION.

RENAMES CLAUSE: At times re-grouping of an elementary data items in a record may be essential so that they can belong to the original as well as to the latest group. This is o