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
How to create 1 ddm that fetches 3 adabas files simultaneously?
How to find occurrence of mu and pe fields in a file?
Explain difference between read work file 1 and read work file once? Why we are using work file once?
Can we see the copy book length using file-aid?
Explain the data storage?
How to receive data passed through jcl parm parameter in a natural program?
Explain difference between escape(top or bottom) and escape immediate(top or bottom?
What is the difference between escape(top or bottom) and escape immediate(top or bottom?
Explain why do we use file-aid for seqential files?
Tell me can we update with histogram?
Can you explain control variable in online screens?
Explain the difference between external subroutine and subprogram?
What is a hyperdescriptor?
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?
How to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?