write a pgm to read p.f using cl pgm?
Answers were Sorted based on User's Feedback
Answer / remya
dclf file(dsp) recfmt(recdsp)
dclf file(pf) recfmt(recpf) opnid(p)
l1: rcvf rcdfmt(recpf)
monmsg msgid(cpf0864) exec(goto cmdlbl(end))
sndrcvf rcdfmt(recdsp)
goto cmdlbl(l1)
end:endpgm
Is This Answer Correct ? | 8 Yes | 3 No |
Answer / avinash
START: PGM
DCL VAR(&COUNT) TYPE(*DEC) LEN(10)
DCL VAR(&OUTPUT) TYPE(*CHAR) LEN(10)
DCLF FILE(*LIBL/PGMNAME)
FILE: SNDRCVF RCDFMT(RFMT)
END: ENDPGM
Is This Answer Correct ? | 2 Yes | 2 No |
difference between view and index ?
Define the purpose of the following code (If you know, how would this be written in RPG ILE) HI LO EQ C *IN66 DOUEQ *OFF C KEY1 CHAIN FILEA 90 66 C 66 CALL PGM1 PRM C ENDDO
what is library?
Is it necessary to define all formats ? Which are mandatory and which are Optional ?
how can i get the cursor position in display screen to to display my window?
the maximum number of subfiles that can defined in a rpg program for one display file is ___ .
how to validate input values in display file ?
define the purpose of the *cat function?
What is the purpose of Level Check parameter in a Physical file?
What is the difference between array and a multiple occurrence data structure?
What is program status data structure(psds) in as400?
writing an sql statement from selecting records from two files using single statement and nested select statement.