How to know the number of records in a pf through clp program?
Answer Posted / syam
Very simple....just copy pf file to another pf file.
after copy system will display subfile message on
last line of display move cursor to last line
24th line on the monitor then press PGDown key 2 times
"2488 records copied from member SALEDT."
CPYF FROMFILE(LIBOBJ/FILEA1) TOFILE(LIBOBJ/FILEA2) MBROPT
(*ADD) CRTFIL(*YES).
Is This Answer Correct ? | 1 Yes | 19 No |
Post New Answer View All Answers
What is binder language ?
how would you design the process for a nightly, high volume check producing process that needs to select only records that are flagged to be processed?
How to add 99 menu (page down) option in menu creation..
what is *iso date format?
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)
which indicator is used for read?
how to run other job when one job is active?
What is compiler directive in as400? Give example of compiler directive.?
what are different record spacing keywords in rlu ?
what are the different types of variables available in cl?
What is file information data structure(infds) in as400?
How to reverse the string in rpg
how can you check for a records existence without causing and i/o (chain/read)?
how will you find a string using pdm?
what are the different opcodes available in rpg for database access ?