目次
- まえがき
- opensource COBOLのプログラム形式
- 見出し部
- 環境部
- データ部
- 手続き部
- 日本語の使用
- opensource COBOLシステムインターフェース
- 8.1. opensource COBOL コンパイラの使い方(cobc)
- 8.2. opensource COBOLプログラムの実行
- 8.3. 組み込みサブルーチン
- 8.3.1. 「名前による呼び出し」ルーチン
- 8.3.1.1. CALL “C$CALLEDBY” USING program-name GIVING status
- 8.3.1.2. CALL “C$CHDIR” USING directory-path, result
- 8.3.1.3. CALL “C$COPY” USING src-file-path, dest-file-path, 0
- 8.3.1.4. CALL “C$DELETE” USING file-path, 0
- 8.3.1.5. CALL “C$FILEINFO” USING file-path, file-info
- 8.3.1.6. CALL “C$JUSTIFY” USING data-item, “justification-type”
- 8.3.1.7. CALL “C$LIST-DIRECTORY” USING item-1, item-2, item-3
- 8.3.1.8. CALL “C$MAKEDIR” USING dir-path
- 8.3.1.9. CALL “C$NARG” USING arg-count-result
- 8.3.1.10. CALL “C$PARAMSIZE” USING argument-number
- 8.3.1.11. CALL “C$SLEEP” USING seconds-to-sleep
- 8.3.1.12. CALL “C$TOLOWER” USING data-item, BY VALUE convert-length
- 8.3.1.13. CALL “C$TOUPPER” USING data-item, BY VALUE convert-length
- 8.3.1.14. CALL “CBL_AND” USING item-1, item-2, BY VALUE byte-length
- 8.3.1.15. CALL “CBL_CHANGE_DIR” USING directory-path
- 8.3.1.16. CALL “CBL_CHECK_FILE_EXIST” USING file-path, file-info
- 8.3.1.17. CALL “CBL_CHANGE_DIR” USING directory-path
- 8.3.1.18. CALL “CBL_COPY_FILE” USING src-file-path, dest-file-path
- 8.3.1.19. CALL “CBL_CREATE_DIR” USING dir-path
- 8.3.1.20. CALL “CBL_CREATE_FILE” USING file-path, 2, 0, 0, file-handle
- 8.3.1.21. CALL “CBL_DELETE_DIR” USING dir-path
- 8.3.1.22. CALL “CBL_DELETE_FILE” USING file-path
- 8.3.1.23. CALL “CBL_ERROR_PROC” USING function, program-pointer
- 8.3.1.24. CALL “CBL_EXIT_PROC” USING function, program-pointer
- 8.3.1.25. CALL “CBL_EQ” USING item-1, item-2, BY VALUE byte-length
- 8.3.1.26. CALL “CBL_FLUSH_FILE” USING file-handle
- 8.3.1.27. CALL “CBL_GET_CURRENT_DIR” USING BY VALUE 0, BY VALUE length, BY REFERENCE buffer
- 8.3.1.28. CALL “CBL_IMP” USING item-1, item-2, BY VALUE byte-length
- 8.3.1.29. CALL “CBL_NIMP” USING item-1, item-2, BY VALUE byte-length
- 8.3.1.30. CALL “CBL_NOR” USING item-1, item-2, BY VALUE byte-length
- 8.3.1.31. CALL “CBL_NOT” USING item-1, BY VALUE byte-length
- 8.3.1.32. CALL “CBL_OC_KEISEN” USING item-1
- 8.3.1.33. CALL “CBL_OC_NANOSLEEP” USING nanoseconds-to-sleep
- 8.3.1.34. CALL “CBL_OPEN_FILE” file-path, access-mode, 0, 0, handle
- 8.3.1.35. CALL “CBL_OR” USING item-1, item-2, BY VALUE byte-length
- 8.3.1.36. CALL “CBL_READ_FILE” USING handle, offset, nbytes, flag, buffer
- 8.3.1.37. CALL “CBL_RENAME_FILE” USING old-file-path, new-file-path
- 8.3.1.38. CALL “CBL_TOLOWER” USING data-item, BY VALUE convert-length
- 8.3.1.39. CALL “CBL_TOUPPER” USING data-item, BY VALUE convert-length
- 8.3.1.40. CALL “CBL_WRITE_FILE” USING handle, offset, nbytes, 0, buffer
- 8.3.1.41. CALL “CBL_XOR” USING item-1, item-2, BY VALUE byte-length
- 8.3.1.42. CALL “SYSTEM” USING command
- サンプルプログラム
クレジット
ページトップへ