how to ftp the natural program to desktop? (from mainframe
to pc), is it possible?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / sk
No, I believe we cannot do that
But you can always write the whole program into a TSO
dataset and from there you can FTP it to your desktop
| Is This Answer Correct ? | 1 Yes | 7 No |
Explain the difference between external subroutine and subprogram?
How to find occurrence of mu and pe fields in a file?
Is it possible to declare a GDA for an external subroutine?
What is a hyperdescriptor? How does it work?
Explain how to move cursor to a particular field when position is not known?
how many work file we can code in jcl?
Explain how to ftp the natural program to desktop? (From mainframe to pc), is it possible?
If the number of parameter is more than the expected then NAT0919 error is displayed. How many parameter are allowed in a CALL and CALLNAT statement?
why do we use file-aid for seqential files?
What is the difference between escape(top or bottom) and escape immediate(top or bottom?
Can we update with histogram?
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?