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
DELETE STATEMENT: The format of the delete statement is as shown below: DELETE   file-name RECORD   [  ;   INVALID   KEY  imperative-statement  ] Whenever the ACCESS MOD

Can u please let me know how can i use SSA''s in IMS while fetching segments. Thanks, Rajesh

PROGRAM FOR MULTIPLY VERB: We have to write a simple program to elaborate MULTIPLY verb. You can also use the edit characters in the program. Identification division. Pr

Evaluate is like a case statement & Evaluate  stamenet can be used to replace nested Ifs. The difference b/w EVALUATE and case is that there is no 'break' is required for EVALUATE

OCCURS - INDEXED BY PROGRAM: identification division. program- id. searching. environment division. data division. working-storage section. 01 table1.      0

FILE-CONTROL paragraph for the indexed files: The common format for the SELECT clause for a file is as shown below: SELECT  file-name  ASSIGN   TO  implementor -name

FILE STATUS clause: This clause has been involved in the above syntax for completeness. The ORGANIZATION, REVERSE, ACCESS and STATUS clause can be specified in any order.

I need help with a COBOL programming assingment. I have started the program but I need help completing the program. I have 5 errors. Here is the question. 10. Suppose your company

FILE-CONTROL paragraph for the relative files: The normal format for the SELECT clause for a relative file is as shown below. SELECT  file-name  ASSIGN  TO  implementor-nam

Example of Level numbers - cobol programming: To explain the hierarchical structure introduced above, the concept of the level number is employed in COBOL. The most broad