OK, this is maybe another question.
Without creating the code, the short answer to this is "Maybe, if:
The locations of the desired items are always within the same location in each line. And,
all lines you are interested in begin with P03, P04, and P20. And,
P03 & P04 have one or more spaces after 'P03' ('P04') before the first data elements. And,
P20 has a single string, with crtical data always in the same location within that string."
A lot of these (and other) questions would be answered by whoever put together the file structure. Armed with this knowledge, you have the logic of
Open file of this name type
go through each line until there are no more lines
Check if first three characters of line are P03, P04, P20. If so, check if it s P03
If so, get the last n digts from the nth element and populate a variable
Then, go to next line. Ensure it begins with P04. If so, Get last n digitds of nth element in that line and populate a variable.
Then, line input until lne begins with 'P20',
etc, etc.
Are you the one expected to create the code/applcation? As I re-read your oiginal question, and look at the first doc you attached, I feel for the fact you can't change how they format data. Without amplifying info, it is useless.
And, it is another question totally. Much greater complexity this time.