Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 1777
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
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Extend the decimal values in DIVISION Balaryan DFSORT/ICETOOL 3 Thu Oct 05, 2017 4:05 pm
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us