Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 2422
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: 10211
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
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
This topic is locked: you cannot edit posts or make replies. Rexx to create GDG by scanning JJ result krish.deepu CLIST & REXX 5 Tue Oct 25, 2016 5:32 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us