Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
How to compare if a field is in a specific format?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IDMS/ADSO
Author Message
sushma.vasisht

New User


Joined: 12 Nov 2006
Posts: 2

PostPosted: Sun Nov 12, 2006 11:49 am    Post subject: How to compare if a field is in a specific format?
Reply with quote

Are there any built-in function in ADSO to check if a given field is in a user defined format.

for example: i want to check if the record is in the format ABxxn.(where in the record should begin with 'AB' & xx should be eqaul to another varible say var-1 and n is any numeric value).

can i do it using LIKE command or SUBSTRING command? if so how?
Back to top
View user's profile Send private message
References
PostPosted: Sun Nov 12, 2006 11:49 am    Post subject: Re: How to compare if a field is in a specific format? Reply with quote

vijayakumar.yellala

New User


Joined: 19 Apr 2006
Posts: 45
Location: Chennai

PostPosted: Tue Dec 19, 2006 5:24 pm    Post subject: Re: How to compare if a field is in a specific format?
Reply with quote

Hello Susma,

Yes, we can check with perticular charcter also, right adso doc not with me, today night i will send u the function code.... Ok...

Regards
Vijay
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IDMS/ADSO All times are GMT + 6 Hours
Page 1 of 1