How can i retrieve city while my i have one field address
length 60 but i don't know what where is city in this field ?

Answers were Sorted based on User's Feedback



How can i retrieve city while my i have one field address length 60 but i don't know what wher..

Answer / tuhina

select cityfldname from DBF where cityfld like '%cityname%'

Is This Answer Correct ?    2 Yes 1 No

How can i retrieve city while my i have one field address length 60 but i don't know what wher..

Answer / chandrasekhar gangireddy

by using DSPPFM on file, type "city" on search fields then press enter u will get the city

Is This Answer Correct ?    1 Yes 1 No

How can i retrieve city while my i have one field address length 60 but i don't know what wher..

Answer / vivek dwivedi

Using Var = %Scan('City' :1: length o the base string)

Is This Answer Correct ?    0 Yes 0 No

How can i retrieve city while my i have one field address length 60 but i don't know what wher..

Answer / paramesh

select cityfldname from DBF where cityfld = '%cityname%'

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More DB400 Interview Questions

what is open data base command

1 Answers   Active Brains, Cognizant, CSC, CTS,


what is the intractive job? what is the batch job ? how to change the batch job to interactive job?

2 Answers   Four soft,


i have a PF,it contains 5 members,how to access particular member data from logical file ?and what is the use of member in PF

3 Answers  


can any one pls tell me some differences between a LF and command OPNQRYF?

3 Answers   Accenture, Cognizant, eFunds,


what is the difference between adding keys & constraints into a phisical file

6 Answers   HSBC,






Q.1 how to implement the commitment control. 2.how to control commitment control from external program.

7 Answers   IBM,


How can i retrieve city while my i have one field address length 60 but i don't know what where is city in this field ?

4 Answers  


pls anyone explain about compile time array,pre run time array run time array

4 Answers  


Which keyword is used both in subfile and subfile control record format of a DSPF?

8 Answers  


If we use the file level keywords like LIFO, FIFO, FCFO in a file, can we see the impact of it by doing the run query of the file? if not how can we see the impact of these keywords.

2 Answers  


How to index LF by relative record no (RRN)

0 Answers  


How many max. Record format a logical file have?

13 Answers   Systime,


Categories