View previous topic :: View next topic
|
Author |
Message |
Ramki Balakrishnan
New User
Joined: 22 Aug 2011 Posts: 5 Location: India
|
|
|
|
But the Decimal Position is not found by this method. My requirement is to print the value of the Packed decimal as message by obtaining the length of the Packed decimal field in view mode of a flat file.(we can obtain the line number and cursor by CL,CC cursor and LINE .ZCSR). please help me. |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Please don't tailgate an old topic, but start a new one.
You can include a link (or more) if you have found relevant information whilst searching, like this. |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
Ramki Balakrishnan wrote: |
But the Decimal Position is not found by this method. My requirement is to print the value of the Packed decimal as message by obtaining the length of the Packed decimal field in view mode of a flat file.(we can obtain the line number and cursor by CL,CC cursor and LINE .ZCSR). please help me. |
The position of the radix point is not carried in the record; you have to know where it is. COBOL and PL/I programs have declared variables for this reason. Someone working for TCS should know this. |
|
Back to top |
|
|
Ramki Balakrishnan
New User
Joined: 22 Aug 2011 Posts: 5 Location: India
|
|
|
|
@Akatsukami: oh.. yes.. I forgot it.. Then I should give the position of the radix point explicitly. Thanks for you reply. |
|
Back to top |
|
|
|