i was faced one question-
i have value
-00001234.56
Suppress the zeroes and the output should be -1234.56
But Not - 1234.56 spaces should not be available after suppressing the zeroes.
logic in jcl and cobol?
Answer / Rahul Jha
In COBOL, you can use the PIC S9(4)V99 format for the field containing the number. In JCL, you can use the REDEFINES clause to create a new symbol for the edited field without leading zeros.
| Is This Answer Correct ? | 0 Yes | 0 No |
i friends greetings to the day...!!! I face a quation like"while runnig the programe every day i have to access the previous day updates only...!! Ex:- Let last day 100 customers took bank account i have to select those customers only.."
What are the various section in data division and briefly explain them.
why we are using set in searchall?
Can 88 level variable be declared in FD section..?
How do get the result of your program directly on your pc?
when SE37 SB37 and sd37 occurs how to increase the volume , primary quantity and secondary quantity?
s9(18) comp-3:: What is the size of memory it takes internally?
if one main program ,n -subprograms are then which call you follow ?why reasonuhg
What are the differences bitween cobol and cobol-2?
How are the next sentence and continue different from each other?
Is it possible to mutliply a comp variable with an comp-3 variable. Will there be any error if i do it?
after udatingg first 110 rows, my job abends. now how do i change my cobol program so that when i restart the Job it will start updating from 111th row ( i.e in next run I di=ont want to update those 110 rows which are already been updated in the first run before job abend)