Data update
This commit is contained in:
parent
5150844a7d
commit
4bb20c9b71
7735 changed files with 38060 additions and 199180 deletions
|
|
@ -1,15 +0,0 @@
|
|||
identification division.
|
||||
program-id. hostname.
|
||||
|
||||
data division.
|
||||
working-storage section.
|
||||
01 hostname pic x(256).
|
||||
01 nullpos pic 999 value 1.
|
||||
|
||||
procedure division.
|
||||
call "gethostname" using hostname by value length of hostname
|
||||
string hostname delimited by low-value into hostname
|
||||
with pointer nullpos
|
||||
display "Host: " hostname(1 : nullpos - 1)
|
||||
goback.
|
||||
end program hostname.
|
||||
Loading…
Add table
Add a link
Reference in a new issue