Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject:
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7315

PostPosted: Wed Aug 08, 2012 3:58 pm    Post subject: Reply to: How to dispay packed-decimal variables using rexx
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: 1755
Location: Bloomington, IL

PostPosted: Wed Aug 08, 2012 4:03 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us