IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

EZT program to build a flat file with hard-coded records


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Sruthi J

New User


Joined: 07 Jul 2023
Posts: 9
Location: India

PostPosted: Sat Jul 08, 2023 9:54 am
Reply with quote

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
View user's profile Send private message
sergeyken

Senior Member


Joined: 29 Apr 2008
Posts: 2140
Location: USA

PostPosted: Sun Jul 09, 2023 4:21 am
Reply with quote

What does this mean: “hardcoded records”?
Is there an alternative as “softcoded records”???

Any example?
Back to top
View user's profile Send private message
Sruthi J

New User


Joined: 07 Jul 2023
Posts: 9
Location: India

PostPosted: Sun Jul 09, 2023 6:33 pm
Reply with quote

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
View user's profile Send private message
Sruthi J

New User


Joined: 07 Jul 2023
Posts: 9
Location: India

PostPosted: Sun Jul 09, 2023 6:45 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10886
Location: italy

PostPosted: Sun Jul 09, 2023 7:01 pm
Reply with quote

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
View user's profile Send private message
Sruthi J

New User


Joined: 07 Jul 2023
Posts: 9
Location: India

PostPosted: Sun Jul 09, 2023 7:10 pm
Reply with quote

The logic needs to be build for this , anyways thanks for your reply 🙂
Back to top
View user's profile Send private message
Sruthi J

New User


Joined: 07 Jul 2023
Posts: 9
Location: India

PostPosted: Sun Jul 09, 2023 9:44 pm
Reply with quote

If anyone else has idea on the logic to build in EZT program, please help here. Thanks a lot
Back to top
View user's profile Send private message
sergeyken

Senior Member


Joined: 29 Apr 2008
Posts: 2140
Location: USA

PostPosted: Mon Jul 10, 2023 2:46 am
Reply with quote

The task is still not clear. Unless the goal is clearly specified, no suggestion on the logic can be provided.
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2593
Location: Silicon Valley

PostPosted: Tue Jul 18, 2023 2:12 am
Reply with quote

It seems like the poster needs a 'hello world' program written in EZT, to start with.
Back to top
View user's profile Send private message
Joerg.Findeisen

Senior Member


Joined: 15 Aug 2015
Posts: 1334
Location: Bamberg, Germany

PostPosted: Wed Jul 19, 2023 9:30 am
Reply with quote

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. icon_lol.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Unable to interpret a hex value to De... COBOL Programming 4
No new posts combine multiple unique records into ... DFSORT/ICETOOL 2
No new posts Error to invoke MPP program through B... IMS DB/DC 3
No new posts how to eliminate null indicator value... DB2 7
No new posts To Omit records based n SORT condition DFSORT/ICETOOL 6
Search our Forums:

Back to Top