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

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


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Null values are considered in Total c... DFSORT/ICETOOL 6
No new posts Join 2 files according to one key field. JCL & VSAM 3
No new posts How to move the first field of each r... DFSORT/ICETOOL 5
No new posts S0C7 - Field getting overlayed COBOL Programming 2
Search our Forums:

Back to Top