Quantcast
Channel: OPNQRY – IT Answers
Browsing all 25 articles
Browse latest View live

Run time error when OPNQRY is executed

New Answer by Michael Tidmarsh

View Article



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 Article

opnqry

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 Article

CL400/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 Article

AS400 – 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 Article


Odd 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 Article

AS400 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 Article

Image may be NSFW.
Clik here to view.

Passing 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 Article


CLLE – 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 Article


What 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 Article

Problem with the syntax of OPNQRY command

New Answer by Michael Tidmarsh

View Article

OPNQRYF 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

JFILE and OPNQRYF

New Discussion Post by Sureyz

View Article


How to use OVRDBF to find specific field in my physical file data.

New Discussion Post by hunshabbir7

View Article

OPNQRY and OVRDBF

New Answer by Michael Tidmarsh

View Article


OPNQRY and WRKQRY

New Answer by Michael Tidmarsh

View Article

Select range of dates for a single parameter in OPNQRY

New Discussion Post by Messam

View Article


RPGLE: 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 Article

Run 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 Article

OPNQRYF 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
Browsing all 25 articles
Browse latest View live




Latest Images