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
 

 

To send NULL or Blank in numeric field in Pl/I

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
Roopa_shree

New User


Joined: 30 Sep 2005
Posts: 1

PostPosted: Fri Sep 30, 2005 6:56 pm    Post subject: To send NULL or Blank in numeric field in Pl/I
Reply with quote

Hi,

A variable defined as fix decimal pic 9v99. And in certain situation want to send NULL ( no value -blank) and not send the default of zero.
How is it possible to send NULL in the same field that will accomodate sending even zeroes, decimal value ( 0.68 ), and whole values.

Kindly suggest.
Back to top
View user's profile Send private message

Sridevi_C

Active User


Joined: 22 Sep 2005
Posts: 104
Location: Concord, New Hampshire, USA.

PostPosted: Sat Oct 01, 2005 10:59 am    Post subject:
Reply with quote

Hi,
First of all,be clear about what you want to ask. Only if your question is clear, forum mates will attempt to respond you with proper info.

Now,I assume that you spoke about the variable that is of the format fixed decimal and is declared as PIC 9V99. If you were looking for a declaration that can accomodate blank in certain cases and numeric value(0.68) in some cases,then PIC ZVZZ can be used.

Regards,
Sridevi.
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 -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts INVALID FIELD OR CONSTANT IN SORTOF ?? Ron Klop DFSORT/ICETOOL 8 Wed Jan 11, 2017 3:44 pm
No new posts Performing arithmetic on input field zh_lad DFSORT/ICETOOL 31 Tue Dec 06, 2016 8:04 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts How to split the records using the am... vnktrrd DFSORT/ICETOOL 24 Fri Oct 28, 2016 7:33 pm
No new posts Sort records based on numeric field. Alks SYNCSORT 2 Wed Oct 19, 2016 10:14 pm


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