How to find d key field of a pf that doesn’t have source
physical file?
Answers were Sorted based on User's Feedback
Answer / abhishek kumar
Use the command: DSPFD FILE(filename)
Search for record format:
Record format . . . . . . . . . . . . . . . : RECORDFMT
Is This Answer Correct ? | 2 Yes | 2 No |
I have a RPG program of 100 Lines and first line is to SETON indicator LR. Will the program execute rest of the 99 Lines?
without logical file we cannot access the data in physical file.but we specify physical file in the program(ie:- Ffile IF E k disk).how can it be accessed?
How to handle duplicate error handling in RPG?
I have some doubts on subfile----------- -----I wrote a prog on subfile to display the records. Every thing is clear but i defined a field called "opt" as input field in subfile record format from that input field i wish to enter into new screen called "EDIT" which i created it as a separate RCD in display file. i gave opt as 2 for edit just like in WRKMBRPDM screen please telll me the code and how can i code for it in RPG.
what is overlay? how can we pass parameters in cl or rpg programing? how can we get data area value in cl or rpg programming?
suppose if we want to update the data in cl what we will do?
What is the purpose of Panel Groups?
how can you display specific subfile page on the screen in unequal subfile?
What is the RPG cycle?
Q1.How to read the Array? Q2.How to copy the content of one Array to another Array?
Can any body give the code for this quesition? Using the following details write C-Spec code to set Name to"AMMU LABS SYSTEM" D NAME1 S 10 INZ('AMMU') D NAME2 S 10 INZ('LABS') D NAME3 S 10 INZ('SYSTEM') D NAME S 20
in a cl pgm records are copied to a file in qtemp a pgm is called to delete records from the file in qtemp no of records in file in library qtemp is checked wat shud be the count of records let say it was 10 initially endpgm