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
 

 

How to download a Natural Object into .txt file

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

New User


Joined: 10 Apr 2006
Posts: 13

PostPosted: Fri Aug 25, 2006 5:38 pm    Post subject: How to download a Natural Object into .txt file
Reply with quote

Hi All,
If any one could suggest how to download a Natural Object as a text file in .txt format then it will be a great help. For your Information I am using Natural 3.1.

Atul
Back to top
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Fri Aug 25, 2006 6:55 pm    Post subject:
Reply with quote

Hi. You have few options:
1. SYSTRANS - Which is a SAG utility that meant to do exactly what you want.
2. One of the user exists provided with NATURAL that can read a source program and save it to work file.
3. From NATURAL batch, issue the LIST command.

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

New User


Joined: 16 May 2006
Posts: 3
Location: Johannesburg

PostPosted: Thu Sep 14, 2006 7:40 pm    Post subject: Re: How to download a Natural Object into .txt file
Reply with quote

Hi there,

You can run this JCL: Change the steplib and the CMSYNIN paremeters

//XXXXNAT2 JOB (034AD1S,DS),MO,CLASS=C,NOTIFY=CAF4,MSGCLASS=V
//* TYPRUN=HOLD
//*JOBPARM SYSAFF=RC30
//*ROUTE XEQ RC30
//NAT EXEC PGM=NATBBTCH,PARM='MT=999,AUTO=OFF'
//STEPLIB DD DSN=TRADABO.N007.ADALOAD,DISP=SHR
// DD DSN=TRADABO.ADABAS.LOAD,DISP=SHR
//DDCARD DD DSN=TRADABO.N007.CTLLIB(RUNUSER),DISP=SHR
//SYSOUT DD SYSOUT=*
//DDPRINT DD DUMMY,DCB=BLKSIZE=133
//CMPRINT DD SYSOUT=*
//CMPRT01 DD SYSOUT=*
//CMSYNIN DD *
BEBREF,USERID
L N PCCM02N0
FIN




Regards,
MHF
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Sep 14, 2006 7:44 pm    Post subject:
Reply with quote

What is BEBREF?

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

New User


Joined: 16 May 2006
Posts: 3
Location: Johannesburg

PostPosted: Thu Sep 14, 2006 8:26 pm    Post subject: Re: How to download a Natural Object into .txt file
Reply with quote

BEBREF is a library at our installation. It is where the production source sits. I just used it as an example.
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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
This topic is locked: you cannot edit posts or make replies. Natural ADABAS Opening with CTS enikhilk Mainframe Jobs 0 Wed Nov 30, 2016 5:37 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm


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