Answer Posted / aarush sharma
CPYFRMQRYF - 1) CANNOT BE USED TO COPY LOGICAL FILES.
2) USES THE ODP OF OPNQRYF.
CPYF - COPIES PART OF FILE & DOESN'T SHARE EXISTING ODP
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What Does 'sr' In Columns 7-8 Of C Specs Mean?
what are the important factors in error message subfile ?
what is the length of a variable in rpg?
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)
how can database records be read without lock ?
What is a query can be displayed without saving it?
how can I control the way a remote browser uses its cache?
what are the three line types in rlu ?
how to define global parameter in ile ?
writing an sql statement from selecting records from two files using single statement and nested select statement.
in which specification the report layout can be defined?
i am using non join multiple format my 3 database file is like that pf97 R REC ENAME ETENNO ESTATUS K ENAME pf98 R REC1 ENAME ESAL K ENAME PF99 R REC3 ENAME CRDCARD EID K EID & MY NON JOIN LOGICAL FILE IS ALSO SAME EXCEPT RECORD NAMES BEFORE I TRIED WITH 2 FILES SO ITS SAYS ERROR I.E.(Key field attributes must be same as for previous formats. ) SO I CHANGED KEYFIELD ACCORDING TO PF SO ITS WORKING BUT AFTER ADDING 3 FILES ITS SAYING SAME ERROR . I DONT KNOW I NEW IN AS400 PLLZ HELP ME I HAVE ONE MORE QUE. CANT BE USE DIFFERENT KEYFIELD (NOT ACCORDING TO PF) IN NON JOIN LOGICAL FILE.
how to toggle between single line and multi - line display of a particular record in a subfile?
how do you pass parameters in cl?
Why we have multiple data types in As400 and why we use numeric, packed, decimal, zoned the basic difference between this?