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
 

 

Dynamic dataset creation

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Java & MQSeries
View previous topic :: :: View next topic  
Author Message
kbmk

New User


Joined: 27 Sep 2007
Posts: 24
Location: Chennai

PostPosted: Thu Oct 23, 2008 12:29 pm    Post subject: Dynamic dataset creation
Reply with quote

Hi,

I want to know how to create a dataset dynamically through natural.
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Oct 23, 2008 2:32 pm    Post subject:
Reply with quote

Please clarify your request: Do you want to allocate a new dataset under TSO from within Natural?

O.
Back to top
View user's profile Send private message
kbmk

New User


Joined: 27 Sep 2007
Posts: 24
Location: Chennai

PostPosted: Thu Oct 23, 2008 4:17 pm    Post subject: Reply to: Dynamic dataset creation
Reply with quote

Yes. Based on my input, I have to create the output file. The input file contains the count. Based on that count, I have to create the output files. The last qualifier in the dataset will be differing.

If I am not still clear, please let me know. Thanks
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Oct 23, 2008 4:38 pm    Post subject:
Reply with quote

OK, the most safe & quick method to allocate a new dataset under TSO from within Natural is to use the supplied user-exit USR2021. With this user exit, you can allocate datasets dynamically and assign them to Natural work file.

Another method is to use the TSO command ALLOCATE. You can invoke TSO commands from within Natural by looking at the example in the examples library.

Third method is to invoke a REXX/CLIST to perform the allocation. This is pretty usefull if you want to perform other "TSO stuff" from within Natural. The best method I've used to invoke a REXX from within Natural is CALL IRXJCL.

O.
Back to top
View user's profile Send private message
kbmk

New User


Joined: 27 Sep 2007
Posts: 24
Location: Chennai

PostPosted: Fri Oct 24, 2008 4:51 pm    Post subject: Reply to: Dynamic dataset creation
Reply with quote

Hi,

Could you tell me where the Examples library is? Also, I will check whether IRXJCL work in our shop.

I don't know about using user exit. do you have any documents detailing about it's use?

Thanks for your help.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Fri Oct 24, 2008 7:17 pm    Post subject:
Reply with quote

- To logon into the example(s) library(es), simply type MAINMENU ON, and follow the menu.
- IRXJCL is an integral part of TSO. If you have TSO, you can call IRXJCL.
- Natural's user exits are well documented in Software AG's fine manuals. Also, a documentation module is supplied with each user exit, as well as an example. Using SYSEXT you will be able to explore all the option. There is also a good help when you hit the PF1 key.

O.
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 -> Java & MQSeries All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts Dynamic split of files under groups sril.krishy DFSORT/ICETOOL 4 Mon Apr 17, 2017 1:09 pm
No new posts LISTCAT on a dataset with symbolic pa... shreya19 JCL & VSAM 5 Fri Apr 07, 2017 5:43 pm
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm


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