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

How to compare if a field is in a specific format?


IBM Mainframe Forums -> IDMS/ADSO
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sushma.vasisht

New User


Joined: 12 Nov 2006
Posts: 1

PostPosted: Sun Nov 12, 2006 11:49 am
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
vijayakumar.yellala

New User


Joined: 19 Apr 2006
Posts: 63
Location: Chennai

PostPosted: Tue Dec 19, 2006 5:24 pm
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IDMS/ADSO

 


Similar Topics
Topic Forum Replies
No new posts Populate last day of the Month in MMD... SYNCSORT 2
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Need to convert date format DFSORT/ICETOOL 20
Search our Forums:

Back to Top