How to find d key field of a pf that doesn’t have source
physical file?

Answers were Sorted based on User's Feedback



How to find d key field of a pf that doesn’t have source physical file?..

Answer / siva

DSPFD

Is This Answer Correct ?    8 Yes 0 No

How to find d key field of a pf that doesn’t have source physical file?..

Answer / abhishek kumar

Use the command: DSPFD FILE(filename)

Search for record format:
Record format . . . . . . . . . . . . . . . : RECORDFMT

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More RPG400 Interview Questions

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?

6 Answers  


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?

3 Answers   HSBC, TCS,


How to handle duplicate error handling in RPG?

0 Answers  


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.

3 Answers  


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?

2 Answers   IBM, Patni,


suppose if we want to update the data in cl what we will do?

9 Answers  


What is the purpose of Panel Groups?

4 Answers  


how can you display specific subfile page on the screen in unequal subfile?

0 Answers   IBM,


What is the RPG cycle?

3 Answers   CSC,


Q1.How to read the Array? Q2.How to copy the content of one Array to another Array?

4 Answers   IBM,


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

5 Answers  


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

2 Answers  


Categories