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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen

1064


what was the robotech rpg?

872


what is an online rpg?

984


What is difference between bind by copy and bind by reference?

2119


How to call one program from another program in RPG? please help me with the code

1482


do you use message subfiles? What are the necessary keywords required coding a message subfile?

907


what is program status data structure?

1805


is this a rpg channel?

898


what is a rpg?

920


can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.

2556


1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?

723


what is the procedure and explain about real time scenario.

1701


how do you use commitment control in rpg?

992


can I touch the array during treatments?

949


are there any useful c runtime apis that I can call from rpg iv?

916