How to know the number of records in a pf through clp program?
Answer Posted / karthik
This is the EXACT CODE if you have any doubt.... mail me@
Gatlakarthik@gmail.com
DCL VAR(&R1) TYPE(*DEC) LEN(10 0)
DCL VAR(&D1) TYPE(*CHAR) LEN(2)
DCLF FILE(PF12) RCDFMT(RCD1)
RTVMBRD FILE(PF12) NBRCURRCD(&R1)
CHGVAR VAR(&D1) VALUE(&R1)
SNDPGMMSG MSG(&D1)
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
what is overlay?
In AS/400 projects in Companies whats the meaning of production support team.what production support involves.also what work does development,maintenance involve what are the other teams or processes that are available for as400 project.
difference between view and index ?
what are indicators?
What is the use of jdftval in as400?
different type of cursor?
what is the command used to invoke rlu ?
what does check opcode is used?
difference between sflrcdnbr and sflnxtchg?
how can I automatically refresh a web page?
what does check opcode do ?
distinguish between terminating a program through seton lr and return?
What Is The Object Type Of Pf, Lf, Printer File & Display File?
the maximum number of subfiles that can defined in a rpg program for one display file is ___ .
how can you check for a records existence without causing and i/o (chain/read)?