how to ftp the natural program to desktop? (from mainframe
to pc), is it possible?

Answer Posted / vinodh

Yes, it is possible. The below JCL can list the source of
the Natural program to a dataset and it can be very well
downloaded using option 6.

//STEP1 EXEC NATBATT
//SYSOUT DD SYSOUT=*
//CMPRINT DD DSN=USERID.MYNATPGM,
// DISP=(NEW,CATLG,DELETE),
// SPACE=(CYL,(1,1),RLSE),RECFM=FBA,LRECL=133
//SYSIN DD *
LOGON NATLIB
L MYNATPGM
FIN
/*
NATLIB = YOUR NATURAL LIBRARY
MYNATPGM = YOUR NATURAL PROGRAM

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create 1 ddm that fetches 3 adabas files simultaneously?

535


How to find occurrence of mu and pe fields in a file?

488


Explain difference between read work file 1 and read work file once? Why we are using work file once?

556


Can we see the copy book length using file-aid?

496


Explain the data storage?

557






How to receive data passed through jcl parm parameter in a natural program?

555


Explain difference between escape(top or bottom) and escape immediate(top or bottom?

624


What is the difference between escape(top or bottom) and escape immediate(top or bottom?

554


Explain why do we use file-aid for seqential files?

580


Tell me can we update with histogram?

607


Can you explain control variable in online screens?

554


Explain the difference between external subroutine and subprogram?

611


What is a hyperdescriptor?

522


Suppose you are processing an input file in a natural program and you want the program to fail if the file is empty. What command you use in natural to force it to fail?

572


How to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?

607