Using an os390/ebcdic assembler load file

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
guysen
Participant
Posts: 3
Joined: Mon Apr 04, 2005 12:21 pm

Using an os390/ebcdic assembler load file

Post by guysen »

We need to do a lookup against a Assembler Load file from OS/390.
We have the Cobol declaratives to access this file. Is there anything special i have to use in Dstage to do lookup against this load file.
For now i downloaded the file as BIN on the Unix Platform. Do i use a Complex Flat file definition to access the different codes defined in this file. I need to do looks up against it.

Thanks
gs.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

If your file is defined in a simple COBOL copybook without OCCURS DEPENDING ON or similar complex construct you won't even have to use a CFF stage to read it.

You cannot do lookups on a sequential file, but you can load that file to a hashed file stage and do lookups on that.
Post Reply