opnqry
I need to select a range of dates for a single parameter in opnqry. qryslt(’date *EQ ‘ *CAT &wrkDTE),where date is numeric and wrkDTE is char.here i have just selected 1 day i want data for range...
View Articleopnqry
I have four selection parameters in a screen which is used as selection criteria in my opnqry.Ideally if all parameters are given the qryslt in opnqry will have all four fields in the select criteria....
View ArticleCL400/OPNQRY
I HAVE A CASE LIKE THIS IN CL/400OPNQRYF FILE((MADE07/GLM0120)) QRYSLT(‘(GLFINP *NE 99) *AND (GLPRDC *EQ “AR” *OR GLPRDC *EQ”SW” *OR GLPRDC *EQ “WP” *OR GLPRDC *EQ “LR” *OR GLPRDC *EQ “MD”) *and...
View ArticleAS400 – RRN of PF
FILE1 is a PF. I want to read 100th Record directly. I want to perform this operation without using LF, OPNQRY, Native I/O. want to achieve this using RRN value of File. How to code this in RPGLE Program
View ArticleOdd problem (conversion or openquery?) only appearing in a stored procedure...
Here’s the code I can run with no problems: declare @AnneeSelectionnee numeric select @AnneeSelectionnee = 2009 declare @DateDernierImport datetime select @DateDernierImport = 'Nov 14 2008 12:00AM'...
View ArticleAS400 OPNQRY FILE
I want to use one non keyed Physical file as keyed file in RPGLE Program. I want to achieve this OPNQRYF Command. Is it possible? If ‘Yes’, How to compile the RPGLE Program? Eg: File1 – Non Keyed File...
View ArticlePassing Parameters to submitted job
The CL runs online, displays a prompt screen for report options and then submits itself with the parms now containing the report options from the user’s display input. It uses RTVJOBA JOBTYPE to...
View ArticleCLLE – Openqry Files
Using opnqry files, we create any key field for physical file for temporarily usage.Instead of creating another logical can i create opnqry? Please give code
View ArticleWhat is ovrdbf?
Hi all , Actually I know OVRDBF is used to override database file . After OVRDBF we have to use OPENQRY command But My question is , What purrpose this OVRDBF file created and After creation it will...
View ArticleOPNQRYF error in QRYSLT
PGM DCLF FILE(LIBRARY/DISPLAY) START: SNDRCVF RCDFMT(REC) WAIT(*YES) IF COND(&IN03 *EQ '1') THEN(DO) GOTO CMDLBL(END) ENDDO IF COND(&ENQQUA1 *EQ ' ') THEN(DO) GOTO CMDLBL(START) ENDDO IF...
View ArticleHow to use OVRDBF to find specific field in my physical file data.
New Discussion Post by hunshabbir7
View ArticleRPGLE: How to use klist without compilation error
New Answer by GregManzo The post RPGLE: How to use klist without compilation error appeared first on IT Answers.
View ArticleRun time error when OPNQRY is executed
New Answer by Michael Tidmarsh The post Run time error when OPNQRY is executed appeared first on IT Answers.
View ArticleOPNQRYF error in QRYSLT
PGM DCLF FILE(LIBRARY/DISPLAY) START: SNDRCVF RCDFMT(REC) WAIT(*YES) IF COND(&IN03 *EQ '1') THEN(DO) GOTO CMDLBL(END) ENDDO IF COND(&ENQQUA1 *EQ ' ') THEN(DO) GOTO CMDLBL(START) ENDDO IF...
View Article
More Pages to Explore .....