IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to move a code from library to library.


IBM Mainframe Forums -> Java & MQSeries
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
prasanth_urs

New User


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

PostPosted: Tue Apr 17, 2007 4:01 pm
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
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Tue Apr 17, 2007 5:14 pm
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
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Java & MQSeries

 


Similar Topics
Topic Forum Replies
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts Calling an Open C library function in... CICS 1
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts Submit multiple jobs from a library t... JCL & VSAM 14
Search our Forums:

Back to Top