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

What happens when you issue a escape routine in a program? Will there be any compilation /run time erro?

550


Tell me can we update with histogram?

607


Explain is it possible to code goto statement in natural? If yes please provide the syntax of the same?

596


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

556


How converted the natural coding for adabas

2689






Explain the data storage?

557


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

499


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?

574


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

554


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

591


Explain how to move cursor to a particular field when position is not known?

535


Explain how many work file we can code in jcl?

570


Explain the address converter?

569


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

609


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

612