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

PLI Declarations to access negative and positive numbers


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
preethiuday

New User


Joined: 30 Mar 2007
Posts: 3
Location: proddatur

PostPosted: Fri Apr 06, 2007 4:52 pm
Reply with quote

Hi,

I want a Variable declaration(datatype) in PLI Program where it should take both the negative and positive numbers according to the input.

I have tried using 999.99R and Fixed Decimal but it dint work.

Please help!!
Back to top
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 459
Location: Belgium

PostPosted: Fri Apr 06, 2007 5:50 pm
Reply with quote

S999.99
Back to top
View user's profile Send private message
cheryala

New User


Joined: 20 Mar 2006
Posts: 46

PostPosted: Tue Apr 17, 2007 3:35 pm
Reply with quote

Hi,
you can use either PICTURE variable or DEC FIXED variable..But before that we need the precision that you want for the variable ..


Regards,
Raj
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 -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts How to access web services/website? Mainframe Interview Questions 4
No new posts Generate random number from range of ... COBOL Programming 3
No new posts access the last host command CLIST & REXX 2
Search our Forums:

Back to Top