I've recently been doing some research on trying to create modules and service programs in ILE, but I'm having trouble finding information on defining a display window (prompt screen) inside a module. Here's the code I've tried (I keep getting an error that the RECNO parameter (RNN here) is not defined). Could someone tell me what I'm doing wrong? Thanks!
FWDWFACV CF E WORKSTN
FZMFL01 IF E K DISK
P WDWFAC B EXPORT
DWFDESC 20A options(*nopass)
D RRN S 3S 0 inz(0)
D WKFLAG S 1S 0
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!