how can you copy records present in a flat physical file to
a database file(physical file).please explain in rpg400 with
a simple example

Answer Posted / guest

Declare a DS with same data types in PGM and move the
record into DS and write the structured file using the DS

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to rename a table in DB2 ?

821


is it compulsory commitment control in journal?

2225


What is cloudant database?

844


What is blu acceleration in db2?

828


Mention data types used in db2 ?

883


What is the use of runstats in db2?

800


What is a storage group (stogroup)?

991


What is the role of union all and union

870


B37 abend during spufi?

1218


Explain dclgen.

939


What is explain in db2?

784


How to take backup of table in db2?

814


What is dbrm? When it will be created?

775


What is the syntax for creating a table in the db2 database?

860


What is dclgen (declaration generator)?

819