An rpg program is processing an openquery file.The file is
declared in update mode in F spec.Can we update this file?
Please explain?
Answers were Sorted based on User's Feedback
Answer / anjali thakare
Yes it is possible if ur query is created accordingly like
In QPNQRYF command, when u crete it specify this following
open option as *upd if it is not then ur not update
it.
Open options . . . . . . . . . . *INP *ALL,
*INP, *OUT, *UPD, *DLT
Is This Answer Correct ? | 15 Yes | 1 No |
Answer / danny
No..Because we are going to receive CPF5149 error when trying to do so.
Is This Answer Correct ? | 1 Yes | 0 No |
how to get the cursor position?
1.what is mean by compilation and runtime error? 2.How to define ALFA numeric value in pf? 3.what command is used to define a data in cl pgm? 4.What type of command is used in page at a time subfile and load all subfile?
What is the difference between keys of a Physical file and the keys of a logical file?
2 Answers Bank Of America, BoA,
What is the use of Data Queues?
Pgm A is invoked through HTTP. It is in Activtion group QILE. Pgm A calls Pgm B and Pgm C. Pgm B is in activation group TEMPACTGRP. Pgm A ends in error. Pgm A is called again. But it gives an error that TEMPACTGRP still exists and files are present in QTEMP. What is the cause and how will u fix?
using dfu, user will be able to ___________ from physical file?
To Add A File To The 'file Selection' Option Of A Query, The Function Key To Be Pressed Is?
PGM QSH CMD('/QOpenSys/bin/sftp -b/home/test/myfile.txt serverUserID@server') ENDPGM In above example,what is content of myfile.txt ...Thanx
What are the functions of Remote Job Entry (RJE) ?
what are the types of errors available in rpg IV or 400.Like decimal data error,sessional error or device error etc...means important error occurings,ie to find out suddenly???pls give answ if u know?Pls give the answer 1,,,,,,,to 12.........ie how it will happened like...for eg if a file is not closiing ,,,like this error is happened... if sufficient data is not in a pf to write in a display file. or sfldsp is not "on"......sessional or device error occured...like this give details all 1 to 12 errors (syam..)....give details PLsssssssssss?
What is a query can be displayed without saving it?
What is the symbol used for shifting fields in SDA?