Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

what is overlay?

1132


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.

9072


difference between view and index ?

1144


what are indicators?

1039


What is the use of jdftval in as400?

1402


different type of cursor?

1048


what is the command used to invoke rlu ?

1889


what does check opcode is used?

1785


difference between sflrcdnbr and sflnxtchg?

1176


how can I automatically refresh a web page?

1061


what does check opcode do ?

1859


distinguish between terminating a program through seton lr and return?

1097


What Is The Object Type Of Pf, Lf, Printer File & Display File?

1159


the maximum number of subfiles that can defined in a rpg program for one display file is ___ .

3284


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

2084