Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
FILE-CONTROL.
SELECT CMD-LS ASSIGN TO W-CMD-LS,
FILE STATUS W-CMD-FS,
ORGANIZATION IS LINE SEQUENTIAL.
.
.
FILE SECTION.
01 CMD-LS-REC.
03 FILLER PIC X(128).
.
.
MOVE SPACE TO W-CMD-LS.
STRING "<ls -F1" DELIMITED BY SIZE
SPACE DELIMITED BY SIZE
"/home/thegreatest/*.txt" DELIMITED BY SIZE
SPACE DELIMITED BY SIZE
"| grep -v / | wc -l" DELIMITED BY SIZE
INTO W-CMD-LS END-STRING.
OPEN INPUT CMD-LS.
READ CMD-LS.
COMPUTE FILE-COUNT = FUNCTION NUMVAL (CMD-LS-REC).
CLOSE CMD-LS.