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


Please Help Members By Posting Answers For Below Questions

What is binder language ?

1367


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?

951


How to add 99 menu (page down) option in menu creation..

1930


what is *iso date format?

629


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)

1745






which indicator is used for read?

636


how to run other job when one job is active?

606


What is compiler directive in as400? Give example of compiler directive.?

579


what are different record spacing keywords in rlu ?

1219


what are the different types of variables available in cl?

1014


What is file information data structure(infds) in as400?

978


How to reverse the string in rpg

1210


how can you check for a records existence without causing and i/o (chain/read)?

1305


how will you find a string using pdm?

697


what are the different opcodes available in rpg for database access ?

825