> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Miklos Szigetvari
> Sent: Wednesday, June 08, 2005 7:44 AM
> To: [email protected]
> Subject: JCL to XML
> 
> 
> Hi
> 
> Maybe someone have seen a JCL to XML converter
> 

I don't understand what you want. Do you want a program which read a JCL
deck and produces an XML output file. For a simple example:

//JOBNAME JOB (ACCT),PGMRID,CLASS=X,MSGCLASS=X,NOTIFY=ME
//STEP1 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//SYSUT1 DD DISP=SHR,DSN=SYS1.MACLIB(READ)
//SYSUT2 DD SYSOUT=*
//

encoded into something like:

<JOB>
  <JOBCARD>
    <JOBNAME>JOBNAME</JOBNAME>
    <ACCOUNT>(ACCT)</ACCOUNT>
    <PROGRAMMER_ID>PGMRID</PROGRAMMER_ID>
    <CLASS>X</CLASS>
    <MSGCLASS>X</MSGCLASS>
    <NOTIFY>ME</NOTIFY>
  </JOBCARD>
  <STEP>
    <STEPNAME>STEP1</STEPNAME>
    <EXEC><PGM>IEBGENER</PGM></EXEC>
    <DD><DDNAME>SYSPRINT</DDNAME><SYSOUT>*</SYSOUT></DD>
    <DD><DDNAME>SYSIN</DDNAME><DUMMY/></DD>
 
<DD><DDNAME>SYSUT1</DDNAME><DISP>SHR</DISP><DSN>SYS1.MACLIB(READ)</DSN><
/DD>
    <DD><DDNAME>SYSUT2</DDNAME><SYSOUT>*</SYSOUT></DD>
  </STEP>
  <NULL/>
</JOB>

I don't know of anything to do that.

On the other hand, if you need a program which can take an input file of
some sort and create a XML encoded output file, then Compuware's FileAid
will do that. I don't know much about how, I just know that we used to
do that back when we had FileAid.



--
John McKown
Senior Systems Programmer
UICI Insurance Center
Information Technology

This message (including any attachments) contains confidential
information intended for a specific individual and purpose, and its'
content is protected by law.  If you are not the intended recipient, you
should delete this message and are hereby notified that any disclosure,
copying, or distribution of this transmission, or taking any action
based on it, is strictly prohibited.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to