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
is there any way to dynamically merge other html scripts into a given html?
What is %CHECK?
What is binder language ?
any one have give AS400 study material? pls pass it to gopalsai789@gmail.com
how many levels are there in a physical file?
What Is Default Data Type (if You Define Decimals '0') In Physical File?
how to declare a constant variable in the freeformat?
Can level check error occur if we do chgpf?
Difference Between Skip Before & Space Before?
Hi,Please give me the the answer for these quesitons? 1.what is IFS and ICF and RAPE amd DISKET fils? explain with example please? 2.What is the difference between POST AND SPACE OPCODES? 3.Can anybody tell me default printerfile command and object type?
What is program status data structure(psds) in as400?
what if my system I runs with system value qccsid 65535?
all i need to know about cmpseqdat parameter in cmppfm, how it works and can we retrieve line sequence and date from the output?
Can any one explain the basic things about RLU and Printer Files and their Definitions for both and why are they used,i'm a newbee so please help me out
how will you find a string using pdm?