How to print output from openquery in as400 ?
Answer Posted / ericles daltonious
OPNQRYF FILE((LIBRARY/INFILE)) QRYSLT('Selection')
CPYFRMQRYF FROMOPNID(INFILE) TOFILE(LIBRARY/OUTFILE)
| Is This Answer Correct ? | 18 Yes | 2 No |
Post New Answer View All Answers
how does the rpg element work?
Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?
what is the use of sflnxtchg?
How can we override a file during runtime in rpg?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique
what is the procedure and explain about real time scenario.
what is the rpg system?
is this a rpg channel?
How can we know running job is batch or interactive?
What are the types of identifiers?
how do I play {insert rpg system here}?
What is a record lock error?
give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........
what is *place and *auto keyword in prtf ?plz explain