ramrdy


{ City } hyd
< Country > india
* Profession * se
User No # 102422
Total Questions Posted # 2
Total Answers Posted # 4

Total Answers Posted for My Questions # 13
Total Views for My Questions # 26041

Users Marked my Answers as Correct # 23
Users Marked my Answers as Wrong # 0
Questions / { ramrdy }
Questions Answers Category Views Company eMail

How to read alternative records in a pf by using rpg?

IBM,

8 RPG400 16072

i hav 2 logical files(L1,L2) both r derived from one physical file(P1). how can i use both the logical files in one RPG program? if yes what i have to d.

TCS,

5 RPG400 9969




Answers / { ramrdy }

Question { IBM, 16072 }

How to read alternative records in a pf by using rpg?


Answer

hi uday,

can you write code for that program

Is This Answer Correct ?    1 Yes 0 No

Question { TCS, 10396 }

Suppose if a physical file is having 1000 records, but i
deleted 500 records from it. Here the concern is can the size
of the file changes or it remains the same... kindly help me
out with thorough xplanation.... Thanks in-advance...


Answer

size of pf didnt change until u run rgzpf...

Is This Answer Correct ?    15 Yes 0 No


Question { TCS, 9969 }

i hav 2 logical files(L1,L2) both r derived from one physical
file(P1). how can i use both the logical files in one RPG
program? if yes what i have to d.


Answer

hi henry, i used diffrent rec-formats in L1 &L2. but i want more clearly.

Is This Answer Correct ?    1 Yes 0 No

Question { 3909 }

HOW CAN WE ENTIRE OBJECTS& IT'S TYPE IN PGM?


Answer

by using DSPPGMREF we can see all the objects used in a program

Is This Answer Correct ?    6 Yes 0 No