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
What happens when you issue a escape routine in a program? Will there be any compilation /run time erro?
Tell me can we update with histogram?
Explain is it possible to code goto statement in natural? If yes please provide the syntax of the same?
Explain difference between read work file 1 and read work file once? Why we are using work file once?
How converted the natural coding for adabas
Explain the data storage?
Explain how to find occurrence of mu and pe fields in a file?
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?
What is the difference between escape(top or bottom) and escape immediate(top or bottom?
Explain how to ftp the natural program to desktop? (From mainframe to pc), is it possible?
Explain how to move cursor to a particular field when position is not known?
Explain how many work file we can code in jcl?
Explain the address converter?
How to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?
Explain how to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?