Page 1 of 1

Need code for query

PostPosted: Thu Jul 02, 2015 3:25 pm
by mainframe1
i have atable with data table:City

city_name nobombay 123
madras 222
bombay 333
madras 444


pls give *number and *counter vales, for find city where city_name= bombay
and also read city where city_name= bombay
thanks

Re: Need code for query

PostPosted: Fri Jul 03, 2015 2:37 am
by NicC
Split from an old topic. You should know by now that a new question is a new topic.

Re: Need code for query

PostPosted: Mon Jul 06, 2015 10:53 am
by RGZbrog
*NUMBER and *COUNTER are well-described in the documentation, under System Variables. What is it abut them that you don't understand?

In the time it took to post your question, you could have written a program to give you the answers. If you are having trouble with that program, post your code and we will help to correct it.

Sample programs are found in the SYSEXPG library and documented in the Programming Guide.