How to print output from openquery in as400 ?



How to print output from openquery in as400 ?..

Answer / ericles daltonious

OPNQRYF FILE((LIBRARY/INFILE)) QRYSLT('Selection')
CPYFRMQRYF FROMOPNID(INFILE) TOFILE(LIBRARY/OUTFILE)

Is This Answer Correct ?    17 Yes 2 No

Post New Answer

More RPG400 Interview Questions

I want my simple Green screen should refersh every 1 min ,How can I do it..? Please share the logic

2 Answers  


where we give the MSGSFL in rpg400?

4 Answers  


what is the procedure and explain about real time scenario.

0 Answers   Adhoc Technologies, Hanuman Automation, HSBC, IBM,


Can any one plz explain the concept of INFSR, *PSSR, INFDS AND PSDS, I' confusing about PSDS and *PSSR, Wat is the difference btw them, wat PSDS will do????

1 Answers  


how many variables can we declare in cl pgm?

13 Answers  






why subproc not run in dftactgrp?????/plz explain

2 Answers   CSC,


Let?s consider a variable X of length 20. Move value ?ABC? to it.How to determine how many characters does X have?

1 Answers  


How can we receive values from a called procedure in CL?

1 Answers   IBM, NTT Data,


1.Coding in cl to send an message? 2..What is turnover and use? What are the different levels?

4 Answers   IBM,


what is edit word and edit code

0 Answers   Cap Gemini,


Hi, Can any body tell me ur experience on this questions? Questions: 1.what is the use of SFLRCDNBR other than subfile page display? 2.Which of the following operation cannot be used in conjuction with a file coded as device type disk?

1 Answers  


What is the length of Signature?

3 Answers   UST,


Categories