Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
How to move a code from library to library.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> NATURAL & MQSERIES
Author Message
prasanth_urs

New User


Joined: 04 Dec 2006
Posts: 34
Location: Pune,India

PostPosted: Tue Apr 17, 2007 4:01 pm    Post subject: How to move a code from library to library.
Reply with quote

Hi all,

How to move a program A from one library 'a' to another library 'b'.


Please tell me the syntax.

Thanks in advance,
Back to top
View user's profile Send private message
References
PostPosted: Tue Apr 17, 2007 4:01 pm    Post subject: Re: How to move a code from library to library. Reply with quote

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 1867
Location: Israel

PostPosted: Tue Apr 17, 2007 5:14 pm    Post subject:
Reply with quote

Assuming you meant NATURAL program:

Method I
1. Open the source in the editor;
2. Type LOGON new_library_name (while you are in editor)
3. Type SAVE program_name.

Method II
Use SYSMAIN either by
- Using SYSMAIN menu
- Direct SYSMAIN commands
- Batch SYSMAIN.

Method III
Use NATURAL user exits to read a source, logon to a new library, write to source area and then save the source area.

O.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> NATURAL & MQSERIES All times are GMT + 6 Hours
Page 1 of 1