Using Null Indicator



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

Using Null Indicator

Postby Nary » Wed Jun 24, 2009 11:16 am

Hi,

I have faced an interview question on the usage of Null indicator.
My doubt is, while using Null indicator along with the host variable in the SELECT statement, should Host variable and Null indicator be separated by comma?

Thank you.
Nary
Nary
 
Posts: 8
Joined: Mon Jun 22, 2009 7:00 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Using Null Indicator

Postby dick scherrer » Thu Jun 25, 2009 4:37 am

Hello,

should Host variable and Null indicator be separated by comma?
No.

Suggest you experiment on your system - many new things may be learned :)
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post