Can anybody please tell me what is difference between SQL
(STRSQL ) and WRKQRY .....?
Answers were Sorted based on User's Feedback
Answer / jyoti
STRSQL is interactive user session where one can use the
SQL commands to query over the file/files. STRSQL even can
perform the file updates and deletions.
This is quick interactive session and does not lock the
file while file updations are performed.
WRKQRY is the mainly used when one needs to save the query
definition for reuse. The queries created using WRKQRY can
even be used in CL programs by RUNQRY (query name).
| Is This Answer Correct ? | 12 Yes | 0 No |
Answer / syam
In STRQRY you will get main 2 menus (Query for AS/400 and
Query Management). WRKQRY is one of the Option in STRQRY
(Query for AS/400). Only you want query some records from
database use WRKQRY.
| Is This Answer Correct ? | 8 Yes | 6 No |
Suppose you have 3 members in a database file. How to read records from all the members Without using CL (OVRDBF) i.e. it should be handled exclusively in an RPG program?
what is the function of cpysplf command?
what does vldcmdkey means?
records can be read/update/deleted with which file?
which are control break logic indicators?
how can database records be read without lock ?
What is Sub-System?
Space & Skip Are Which Level Keywords?
what is the purpose of the indara keyword?
how can I control the way a remote browser uses its cache?
how many printer files can be defined in f specs ?
how do you turn off indicators 50 through 59 in only one operation