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

FTP option in Natural


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

New User


Joined: 23 Jun 2005
Posts: 34
Location: Chennai

PostPosted: Sun Jun 14, 2009 9:46 pm
Reply with quote

Hi,

In Natural, is there any way to move the programs to the PC environment as we do from TSO using FTP options.
Back to top
View user's profile Send private message
beruoist

New User


Joined: 14 Nov 2007
Posts: 70
Location: mumbai

PostPosted: Mon Jun 15, 2009 2:07 pm
Reply with quote

Yes,you can move your code from natural library to TSO and then FTP it to PC.
Back to top
View user's profile Send private message
brganeshbabu

New User


Joined: 23 Jun 2005
Posts: 34
Location: Chennai

PostPosted: Mon Jun 15, 2009 3:27 pm
Reply with quote

Hi,

I login to Natural through CICS region. Is it possible to move the code from any library to TSO still ? If so, Please can you tell me how to move it (any options).
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Sun Jun 21, 2009 5:16 pm
Reply with quote

Exporting Natural sources from CICS is not straight-forward, although doable. You have to allocate a work file to CICS TD Queue. More information could be found in the fine manuals.

Another option is to write your own "source exporting" program, which with use Natural's user-exits. Then, you can use NATRJE and submit a job to write the sources to an ISPF dataset.

By the way, can you run Natural/Batch?


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

New User


Joined: 23 Jun 2005
Posts: 34
Location: Chennai

PostPosted: Mon Jun 22, 2009 9:45 pm
Reply with quote

Hi Ofer,

Thanks for your response. I tried the same. But it is asking for Workfile. In the manual which I have, doesn't say how to allocate a work file.
BTW, I can run the Natural programs from Batch also.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Mon Jun 22, 2009 11:50 pm
Reply with quote

In batch, simply allocate CMWOKF01 as workfile number 1, and you are all set...

Regarding work files under CICS, take a look at the "Natural under CICS - Operation, Individual Components" section in the "TP Monitor Interfaces" book.

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

New User


Joined: 21 Nov 2009
Posts: 58
Location: California

PostPosted: Thu Dec 10, 2009 4:05 pm
Reply with quote

Use Natural's System Object Handler (SYSOBJH) to extract source objects from the source platform. FTP to the target platform. Use SYSOBJH to load the modules.

Source and target platforms can be mainframe, Windows, Unix, Linux, and OpenVMS.

For simple unloads and loads, the command format is very similar to the old NATLOAD/NATUNLD & SYSTRANS utilities.

Since this is a mainframe forum, I suggest that you post OpenSystems-related questions to Software AG's Developer Forum: tech.forums.softwareag.com
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Thu Dec 10, 2009 6:40 pm
Reply with quote

From the fine manual:
Quote:
The SYSOBJH utility is not available with Natural on mainframe computers.


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

New User


Joined: 21 Nov 2009
Posts: 58
Location: California

PostPosted: Thu Dec 10, 2009 8:44 pm
Reply with quote

You must be on an old version. SYSOBJH has been available since 4.1. Nat4.2.6 is current.
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 SCOPE PENDING option -check data DB2 2
No new posts OUTFIL with SAVE option DFSORT/ICETOOL 7
No new posts CICS vs LE: STORAGE option CICS 0
No new posts INSYNC option with same function as I... JCL & VSAM 0
No new posts Option DYNALLOC second parameter. DFSORT/ICETOOL 11
Search our Forums:

Back to Top