View previous topic :: View next topic
|
Author |
Message |
Sruthi J
New User
Joined: 07 Jul 2023 Posts: 9 Location: India
|
|
|
|
I need to write a easytrive program to build a flat file with the hard-coded records in the file.i have total 100+ records to build in this flat file.first time I am working in EZT program, kindly help with the program if anyone has idea ? |
|
Back to top |
|
|
sergeyken
Senior Member
Joined: 29 Apr 2008 Posts: 2141 Location: USA
|
|
|
|
What does this mean: “hardcoded records”?
Is there an alternative as “softcoded records”???
Any example? |
|
Back to top |
|
|
Sruthi J
New User
Joined: 07 Jul 2023 Posts: 9 Location: India
|
|
|
|
Actually,the requirement is 100+ records to insert in a flat file.Usually we can use Sortcard Outrec to insert those records in the flat file which works for few records, since there are 100+ records that needs to be build in this flat file, in the requirement they asked to use EZT to generate this flat file by inserting those given 100+ records |
|
Back to top |
|
|
Sruthi J
New User
Joined: 07 Jul 2023 Posts: 9 Location: India
|
|
|
|
The records data is given in the the requirement, I cannot post here.It's all new records data.For example the records data looks like as below:
0001 AAAA 09867544567 2023-07-09
0002 BBBB 09867544568 2023-07-09
0001 CCCC 09867544569 2023-07-09 etc.
Like this 100+ records which are all unique data to build in the flat file |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10888 Location: italy
|
|
|
|
what is the logic in building the records
Code: |
0001 AAAA 09867544567 2023-07-09
0002 BBBB 09867544568 2023-07-09
0001 CCCC 09867544569 2023-07-09
|
the logic seems clear for the third and fourth fields
a number incremented by one, a date constant
there is not enough information on how to build the first and second field
if there is no algorithmic logic somebody will have to enter by hand each record
and in this case a DFSORT solution or an EZT solution might be equivalent |
|
Back to top |
|
|
Sruthi J
New User
Joined: 07 Jul 2023 Posts: 9 Location: India
|
|
|
|
The logic needs to be build for this , anyways thanks for your reply 🙂 |
|
Back to top |
|
|
Sruthi J
New User
Joined: 07 Jul 2023 Posts: 9 Location: India
|
|
|
|
If anyone else has idea on the logic to build in EZT program, please help here. Thanks a lot |
|
Back to top |
|
|
sergeyken
Senior Member
Joined: 29 Apr 2008 Posts: 2141 Location: USA
|
|
|
|
The task is still not clear. Unless the goal is clearly specified, no suggestion on the logic can be provided. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2594 Location: Silicon Valley
|
|
|
|
It seems like the poster needs a 'hello world' program written in EZT, to start with. |
|
Back to top |
|
|
Joerg.Findeisen
Senior Member
Joined: 15 Aug 2015 Posts: 1335 Location: Bamberg, Germany
|
|
|
|
Pedro wrote: |
It seems like the poster needs a 'hello world' program written in EZT, to start with. |
Maybe there is one in the http://helloworldcollection.de already. |
|
Back to top |
|
|
|