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

rexx tool for jcl code creation (pre-compile and compile)


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mikkilinenibalaji
Warnings : 1

New User


Joined: 18 Oct 2010
Posts: 4
Location: chennai

PostPosted: Sun Oct 31, 2010 10:24 pm
Reply with quote

The requirement which i got is to create a rexx tool to write jcl when source,other inputs such as files,db,etc and output pds is given.provide me with some sample code of flow if possible.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sun Oct 31, 2010 10:31 pm
Reply with quote

Hello,

You need to show what will be the actual "input" to your process and the output you want generated by your process.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Nov 01, 2010 12:07 am
Reply with quote

if You had cared to look at the forum topics linked in my reply to Your other post
You would have noticed that one of them contains a working jcl parser/reformatter

I wonder why when somebody feels that he has the skills to write a tool he does not use the same skills to explain clearly the whole shebang...
and even asks for code and logic
icon_question.gif icon_evil.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Nov 01, 2010 12:19 am
Reply with quote

Hi Enrico,

I believe this question is about creating jcl rather than reading/parsing it. . .

Depending on the actual scope of the requirement, it may be simple or it may approach undoable (at least in a reasonable amount of time).

Maybe we'll get an actual description of what is wanted . . .

d
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Nov 01, 2010 12:37 am
Reply with quote

Yup, but also in my sample there are also a part on building it..

one of my oooold customers had developed a jcl generator based on two DB2 tables
one with the entity values and the relations between them...
job step ddnames datasetnames inline data
the other one with the parametrization/patterns to be used for each environment

for the test environmentS the jcl would be usually generated on the fly
for production generated and stored into the scheduler libraries
not very difficult if the ideas are clear
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Nov 01, 2010 12:50 am
Reply with quote

I just reread the starting topic... maybe the TS is looking for something to build the compilation jcls ... who knows icon_confused.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Nov 01, 2010 1:25 am
Reply with quote

Well, the title includes "jcl code creation (pre-compile and compile)" while the text for the topic has " tool to write jcl when source,other inputs such as files,db,etc and output pds is given."

Rather confusing at best. . .

If this is the completely unnecessary task of (re)creating compile/link jcl it should be completely abandoned. I'm sure that system has standard compile/link processes in place and these should be used.

As i've mentioned several times before, i've been involved with organizations that have terminated people for not using the standard processes. . .

Just maybe, a better description of what is being attempted will be posted. We can only hope.
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Mon Nov 01, 2010 10:11 am
Reply with quote

ISPF File tailoring is all that is needed.
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top