IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to dispay packed-decimal variables using rexx ?? New


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Ramki Balakrishnan

New User


Joined: 22 Aug 2011
Posts: 5
Location: India

PostPosted: Wed Aug 08, 2012 3:43 pm
Reply with quote

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
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Wed Aug 08, 2012 3:58 pm
Reply with quote

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
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Wed Aug 08, 2012 4:03 pm
Reply with quote

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
View user's profile Send private message
Ramki Balakrishnan

New User


Joined: 22 Aug 2011
Posts: 5
Location: India

PostPosted: Wed Aug 08, 2012 4:22 pm
Reply with quote

@Akatsukami: oh.. yes.. I forgot it.. Then I should give the position of the radix point explicitly. Thanks for you reply.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
Search our Forums:

Back to Top