Hi Badal-Igate,
You can run batch utility IDUTSTRN (source transport utility) to create that flat file .
IDUTSTRN is explained in the CA IDEAL Working Environment Guide
Chapter 7: Transporting Applications in Source Form
The Source Transport Utility (IDUTSTRN) lets you import and export
Advantage CA-Ideal source code for the following entities:
Programs
Panels
Reports
Sequential file dataviews that are not modeled in Datadictionary
VSAM file dataviews
Members
The Source Transport Utility is a batch utility that you can use to:
Extract source code from one installation and load it to another
Unload source code to archive for backup and auditing purposes
Restore source selectively from external source format
Load source generated externally to Advantage CA-Ideal
The Source Transport Utility cannot import or export user definitions, system
definitions, and dataviews for Advantage CA-Datacom/DB or DB2, or modeled
sequential file dataviews.
Have a look and let us know if any questions .
I'm not sure I understand your 2 other questions .
Regards,
Karina.