MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

BIT Data type IBMSNAP_COMMITSEQ

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
mf979171
Beginner


Joined: 31 Aug 2007
Posts: 4
Topics: 2

PostPosted: Sat Dec 22, 2007 1:33 pm    Post subject: BIT Data type IBMSNAP_COMMITSEQ Reply with quote

Hi,

Requirement :
I have to create a report in which I want to use the below mentioned IBMSNAP_COMMITSEQ column value and based on the difference between last updated value and current updated value, retrieve the rows and produce a report.

Given :
I have a table which is having a column - IBMSNAP_COMMITSEQ. This is defined in the table as

IBMSNAP_COMMITSEQ CHAR(10) FOR BIT DATA NOT NULL

Question :
I tried to store the last updated value of IBMSNAP_COMMITSEQ of table in a file and next when trying to compare the value stored in the file and the current column value (in the table) the result is not produced (No rows selected). will PIC X(10) suffice the datatype need during the comparison? or need to do some conversion for BIT DATA ?

How can I compare a value in the file with the value in the table defined as 'FOR BIT DATA' ?

In short I think the file value stored as PIC x(10) doesnt get compared to FOR BIT DATA value of column in the table.

Thanks.
_________________
Thanks.
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group