View previous topic :: View next topic
|
Author |
Message |
shan
New User
Joined: 10 Aug 2006 Posts: 7
|
|
|
|
1) i have to check a field whether it is blank or not in cobol program?(not spaces)
2)have to create a blank field in a FB dataset to test this |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
shan wrote: |
1) i have to check a field whether it is blank or not in cobol program?(not spaces)
2)have to create a blank field in a FB dataset to test this |
You hav to help us out first, what is a "blank: if it is not a "space"? Low values? Can you show the hex value of what you consider a blank? |
|
Back to top |
|
|
shaikmf
New User
Joined: 06 May 2005 Posts: 3 Location: Hyderabad
|
|
|
|
Hi Shan,
i hope this will work fine
IF DATA-SET-FB-FIELD NUMERIC
{ COBOL STMTS.}
ELSE
CONTINUE
END-IF |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
That example does NOT check for any kind of blank. . . .
Please define what the hex value is for the blank you need to check for. |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Hi Shan,
If you're by any chance still out ther, could you possibly mean a non-printable character? |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
mmwife wrote: |
If you're by any chance still out there |
How many of these "single questions" do you get? It's got to be frustrating |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Hi Bill,
Here's a ques for you:
How do you make a poster with a ques disappear?
Ans: Ask HIM a ques. |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
mmwife wrote: |
How do you make a poster with a ques disappear?
Ans: Ask HIM a ques. |
what more could I say????? |
|
Back to top |
|
|
|