Skip to content

Instantly share code, notes, and snippets.

@LasterOfDesaster
Created June 12, 2018 08:49
Show Gist options
  • Save LasterOfDesaster/8c508a390983cac409fdc5c59f1978ca to your computer and use it in GitHub Desktop.
Save LasterOfDesaster/8c508a390983cac409fdc5c59f1978ca to your computer and use it in GitHub Desktop.
P* -----------------------------------------------------------------------
P* Fixed Format
P* -----------------------------------------------------------------------
P GetTestData b
Ftestpfl1 if e k disk rename(testpfr:testpfr1)
D GetTestData pi
C read testpfl1
P GetTestData e
P
// Full free format
dcl-proc GetTestData2;
dcl-pi GetTestData2;
end-pi;
dcl-f testpfl1 disk keyed rename(testpfr:testpfr1);
read testpfl1;
return;
end-proc;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment