Hi,
Are you using RPG for this or something else?
Regards,
Martin Gilbert.
When you say it's in a data structure - it sounds like it's in RPG ???
Are all the elements of the structure character???
Do you need your text file on the 400 or are you sending it somewhere/somehow?
Phil
Last Wiki Answer Submitted: November 25, 2008 1:58 pm by Gilly40023,625 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
Define your flat file as externally defined in your RPG – you may have to use RENAME to rename the record format if the format name is the same as the file name. Then you should be able to move your data structure to the field in the flat file (the flat file normally has one field which occupies the whole length of the record) and write the record to the flat file.
yes RPGILE
Hi,
Define your flat file as externally defined in your RPG – you may have to use RENAME to rename the record format if the format name is the same as the file name. Then you should be able to move your data structure to the field in the flat file (the flat file normally has one field which occupies the whole length of the record) and write the record to the flat file.
Regards,
Martin Gilbert.
we have a task to add delimeter in flat file. can we add this to flat files if yes please suggest me
how it is.
Hi,
What sort of delimiter and where does it need to be?
Regards,
Martin Gilbert.
i want to use delimeter to split each column field record as below
name|address|
please suggest me how can i.
You could create a 1 char field between each data field in the data structurre and populate them with the pipe ‘|’.