View previous topic :: View next topic
|
Author |
Message |
mikkilinenibalaji Warnings : 1 New User
Joined: 18 Oct 2010 Posts: 4 Location: chennai
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
I just reread the starting topic... maybe the TS is looking for something to build the compilation jcls ... who knows |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
prino
Senior Member
Joined: 07 Feb 2009 Posts: 1306 Location: Vilnius, Lithuania
|
|
|
|
ISPF File tailoring is all that is needed. |
|
Back to top |
|
|
|