Hi viziroth, this might be too late of a response but I'll give it a go anyway. I'm currently taking my second-level RPG IV class so I'll try to help you out here.
I think you're getting Data Description Specification (DDS) with Definition Specifications (D-Specs, a special area in an RPG ILE program used to define variables) confused with each other. Those D-Specs are used for creating variables in RPG programs, so when you mentioned Physical Files, Display Files, etc, I think you meant DDS.
If, possibly, you're having trouble creating variables in an RPG program, you can do it like this:
*.. 1 ...+... 2 ...+... 3 ...+... 4 ...+... 5 ...+... 6 ...+... 7 ...+... 8
DName+++++++++++ETDsFrom+++To/Len+IDc.Keywords+++++++++++++++++++++++++++++
// Variable named TotalDue defined as a standalone variable.
// This variable is 7 positions long with two decimal positions.
// After that is the variable FullName with 25 character positions.
D TotalDue S 7 2
D FullName S 25
/Free
// RPG IV program code goes here...
/End-Free
But if you meant the DDS files, this can all depend on what you're trying to create. For example, you might be trying to create a "screen" but calling the program source type a Physical File when it should be a Display File. That would certainly give you your error messages when you try to compile.
I can help you out some more if you need. I hope I helped somewhat. :)