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
how will you search an array?
What Is The Purpose Of The "n" In The Following Calculation Specification?
what is the use of dspatr(mdt) keyword?
WHICH REPLY CODE IS USED BT sftp ? ... (e.g.226 is used by FTP IF FILE IS TRANSFERED)
How we will get issues on AS/400 technology ? I mean which issue/Defect Tracking tool is using in all companies when any issue comes? Can anybody explain about the work flow of AS/400 project ? plzzz
what is rpg ?
How do I remove a flag or check no. or name when a user opens too many sessions?
If i change any file through application after entering data , how to check which file is updated through applications . For call stack we takes esc 3 then we chose 11..But What is answer of below qtn..?
what is the use of sflend keyword?
What Does 'sr' In Columns 7-8 Of C Specs Mean?
difference between view and index ?
what is join logical file?
what the purpose of ovrdta, ovrata keywords?
in conjunction with what other keyword must ovrdta and ovrata be used?
what does defn do?