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: 2446
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: 8657
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: 10457
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. GDG gen check using REXX raghuraman123 CLIST & REXX 6 Wed Apr 18, 2018 9:18 pm
No new posts Creation of Datasets dynamically on t... Raghu M N DFSORT/ICETOOL 8 Fri Mar 16, 2018 12:56 am
No new posts How to control Panel Attributes throu... rsshanmugam CLIST & REXX 3 Mon Feb 26, 2018 9:51 pm
No new posts Find a string in PS file opened in br... mukkas CLIST & REXX 3 Sat Feb 24, 2018 2:15 pm
This topic is locked: you cannot edit posts or make replies. how to get Job information from IOF u... rsshanmugam CLIST & REXX 13 Mon Feb 05, 2018 4:22 pm

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