View previous topic :: View next topic
|
Author |
Message |
atulrukmangad
New User
Joined: 10 Apr 2006 Posts: 13
|
|
|
|
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 |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
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 |
|
|
mhf
New User
Joined: 16 May 2006 Posts: 3 Location: Johannesburg
|
|
|
|
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 |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
What is BEBREF?
O. |
|
Back to top |
|
|
mhf
New User
Joined: 16 May 2006 Posts: 3 Location: Johannesburg
|
|
|
|
BEBREF is a library at our installation. It is where the production source sits. I just used it as an example. |
|
Back to top |
|
|
|