what is the use of UNIQUEUE KEY WORD?
what is the difference between PFILE AND REF?
Answer Posted / sj
UNIQUE - Its file level keyword in PF. If you specify this
keyword then duplicate key values are not allowed in PF.
Ex. IF key field is cusno then no duplicate records are
allowed in cusno field
PFILE: Its logical file keyword to specify the Physical
file name.
REF: To specify the file name where the field discriptions
are present.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
what is overlay?
which are the string manipulation opcodes?
how many files, printer files you can describe in a rpg?
define what a data area is along with a brief example of what it may be used for?
what is the maximum number of parameters allowed in rpg?
what opcode will be used to test the zone of a character field?
what is the maximum number of files allowed in rpg?
is it possible, in the same cgi, to run more than one gethtml or gethtmlifs?
Can you summarize the steps I have to go through in writing my first cgi?
what does check opcode do ?
what if my system I runs with system value qccsid 65535?
Hi,Can any body give the code for the below mentioned quetion.?Im trying to get coding in with easily inderstanding.Plese give me the coding for this? 1.How would you achieve this requirement with out using RPG/RPGLE pgm,but by using only CL?Read a database file and display file contents on the screen when enter key pressed the next record should be displayed on screen.When the last record is reached or when F3 key is pressed the program should exit if the file is empty,a message should be displayed indicate that there are no records to display. Database file Name=EMPDBF Fields in EMPDBF to be displayed on screen Employee Number- EMPNUM(5,0) Employee Name- EMPNAM(30,A) Employee Address-EMP ADDR(50 A)
WHAT is STORED PROCEDURE CONCEPT IN AS400 WITH EXAMPLE?
define the purpose of the leave operation?
which are control break logic indicators?