Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Creation of Unload JCL with REXX tool/scripts

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
mvijairaj

New User


Joined: 21 Jul 2009
Posts: 2
Location: Hyderabad

PostPosted: Mon Dec 07, 2009 12:48 am    Post subject: Creation of Unload JCL with REXX tool/scripts
Reply with quote

Hello,

Is it possible to create UNLOAD JCL job with help of REXX tool/ scripts ?
Back to top
View user's profile Send private message

PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2442
Location: Netherlands, Amstelveen

PostPosted: Mon Dec 07, 2009 12:51 am    Post subject:
Reply with quote

Sure.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Dec 07, 2009 12:56 am    Post subject:
Reply with quote

Well that question just begged the above reply.

You really do need to give a whole lot more detail about what you want to achieve, and quite often the reason why you need to do this gives the other forum members a lot more scope for helpfull answers.
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Mon Dec 07, 2009 2:10 am    Post subject:
Reply with quote

Hello and welcome to the forum,

It is usually not a good initial question to ask if some "thing" is possible - it almost always is possible (if one is willing to learn how or buy the needed components.

As Expat mentioned, if you clearly specify (in detail) what you to do (ie. show examples of what you want as "output" from this process), someone will probably have a suggestion.
Back to top
View user's profile Send private message
mvijairaj

New User


Joined: 21 Jul 2009
Posts: 2
Location: Hyderabad

PostPosted: Tue Dec 08, 2009 11:00 pm    Post subject: Reply to: Creation of Unload JCL with REXX tool/scripts
Reply with quote

Hi,
The requirement is like this:
I w'd like to create Unload JCL jobs with help of REXX processing steps.
In my REXX tool, I will define table names in one Array structure. Assume that All tables are similar table structure. so, REXX has to create unload JCLs for given list of table names. i.e. SYSIN and DD names along with Job card and other things as usual in the JCL. Can it be possible to create such unload JCLs ?
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10326
Location: italy

PostPosted: Tue Dec 08, 2009 11:26 pm    Post subject: Reply to: Creation of Unload JCL with REXX tool/scripts
Reply with quote

Quote:
Can it be possible to create such unload JCLs ?


again a yes/no question strongly deserves a Yes/no answer

Yes it is possible,
the requirements must be clear, and You must have the right skills

nobody will do it for You!
show us what You have done, what problems You have encountered,
somebody will be glad to help You
Back to top
View user's profile Send private message
valyk

Active User


Joined: 16 Apr 2008
Posts: 104
Location: South Carolina

PostPosted: Wed Dec 09, 2009 12:01 am    Post subject:
Reply with quote

To give you a start in the right direction, you will build your JCL as output and write to the internal reader. You can build your output from a skeleton, or just hard code your JCL like this:

Code:

QUEUE "//JOBNAME JOB (,,,),'DESCRIPTION',"
QUEUE '//   MSGLEVEL=(1,1),MSGCLASS=X,CLASS=0,'
QUEUE '//   NOTIFY=&SYSUID'
QUEUE '/*JOBPARM SYSAFF=*'
QUEUE '//*'
QUEUE '//STEP0001 EXEC PGM=IDCAMS'
QUEUE '//SYSPRINT DD   SYSOUT=*'
QUEUE '//SYSIN    DD   *'
...
ADDRESS TSO
"ALLOC F(JCL) SYSOUT WRITER(INTRDR)"
"EXECIO" QUEUED() "DISKW JCL (FINIS"
"FREE F(JCL)"
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts Mainframe scheduling tool ddhar Compuware & Other Tools 2 Wed Sep 27, 2017 12:48 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us