XML stages for mainframe?

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
troywinston
Participant
Posts: 42
Joined: Sun Jul 03, 2005 4:22 pm
Location: NY

XML stages for mainframe?

Post by troywinston »

Can someone help with XML. My source is XML format from a mainframe and I want to load target to cobol copybook format on another mainframe. Server has XML stages but I realize mainframe does not, any suggestions? I am using 7.5
aartlett
Charter Member
Charter Member
Posts: 152
Joined: Fri Apr 23, 2004 6:44 pm
Location: Australia

Post by aartlett »

Troy,
Try a XSLT to do it. A java based one (Saxxon at apache) would do it.
Andrew

Think outside the Datastage you work in.

There is no True Way, but there are true ways.
troywinston
Participant
Posts: 42
Joined: Sun Jul 03, 2005 4:22 pm
Location: NY

Post by troywinston »

Any other approach ai coudl take to get this done? For example
perform a server job first using XML source -> XML transformer -> sequential file.
then perform a mainframe job from that Sequential file -> transformer - cobol cobybook.
Any thoughts or suggestion!!
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Troy,
I think you just said it. Try that. It should work. Read the data using xml input, use the xml transformer, use sequential stage as ur passive stage, into the transformer, change the format to ebcidic and into cobol copy book.
Post Reply