hi alll,
i want to write rexx script..
i have to Create a web application to display the source of a mainframe COBOL program. Hyper links should be inserted to allow navigation around the program.
this has to be done by using rexx code..
Input parameters:
library MVS library name. Default to PQDPR.BATCHPR.JCLLIP if not specified
member Library member name ? must be specified (1-8 chars)
If the parameters are incorrect, generate an error page
<html>
<head>
<title>COBOL ? Error</title>
</head>
<body>
?
error details
?
</body>
</html>
[b]processing::/b]
Open the file specified by the input parameters.
Generate an error page if the source file does not exist or cannot be opened.
Headers
Output the page headers
<html>
<head>
<title>COBOL ? program name</title>
</head>
<body>
<pre>
Set program name in the title to the input member name
Output source
Now output the contents of the input file. Where ever a PERFORM or PEFORMX statement is processed, insert a hyperlink.
For example
PERFORM R000-READ-FILE
Should be output as:
PERFORM <a href=?#R000-READ-FILE?>R000-READ-FILE</a>
Where a paragraph or section name or DT is found, insert an anchor
For example
R000-READ-FILE.
Should be output as:
<a name=?R000-READ-FILE?>R000-READ-FILE</a>.
Trailers
After the entire input file has been output, output the closing tags.
</pre>
</body>
</html>
so how can i code rexx script??
thanks in advance
required rexx script for following query
Moderator: Moderator Group
Hi Varun,
It is helpful to all board members, if you can use forum for discussion instead of PM.
Anyhow, thanks for your willingness to share your knowledge.
It is helpful to all board members, if you can use forum for discussion instead of PM.
Anyhow, thanks for your willingness to share your knowledge.
Regards,
Krishna
Facebook --> http://www.facebook.com/mainframegurukul
Connect with RAMESH KRISHNA REDDY --> http://www.linkedin.com/in/rameshkrishnareddy
Twitter --> https://twitter.com/mainframegurkul
http://www.mainframetutorials.com
Krishna
Facebook --> http://www.facebook.com/mainframegurukul
Connect with RAMESH KRISHNA REDDY --> http://www.linkedin.com/in/rameshkrishnareddy
Twitter --> https://twitter.com/mainframegurkul
http://www.mainframetutorials.com
FREE TUTORIALS
Tutorials
Free tutorials from mainframegurukul
- JCL Tutorial
Covers all important JCL concepts. - Cobol Tutorial
This tutorials covers all Cobol Topics from STRING to COMP-3. - DB2 Tutorial
DB2 Tutorial focuses on DB2 COBOL Programming. - SORT Tutorial
This Tutorial covers all important aspects of DFSORT with examples - CICS Tutorial
This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions
- Cobol Interview Questions
50+ Interview Questions - JCL Interview Questions
50+ Interview Questions - DB2 Interview Questions
100+ Interview Questions - CICS Interview Questions
70+ Interview Questions - VSAM Interview Questions
27 Interview Questions
Other References
Mainframe Tools and others
- XPEDITER Reference
Explains how we can debug a program - FILEAID Reference
Explains how to browse , edit and delete datasets - Change Man Reference
Quick Start tutorial on Changeman - Abend Reference
Important Abend codes explained - FaceBook Page
MainframeGurukul FaceBook Page - LinkedIn Page
MainframeGurkul Linkedin Page