fork download
  1. IDENTIFICATION DIVISION.
  2. PROGRAM-ID. INPUTSAMPLE.
  3.  
  4. DATA DIVISION.
  5. WORKING-STORAGE SECTION.
  6. 01 ITEM-NAME PIC X(20).
  7.  
  8. PROCEDURE DIVISION.
  9. DISPLAY "ITEM NAME を入力してください: ".
  10. ACCEPT ITEM-NAME.
  11. DISPLAY "ITEM:kanda" ITEM-NAME.
  12. STOP RUN.
  13.  
Success #stdin #stdout 0.02s 5284KB
stdin
Standard input is empty
stdout
ITEM NAME を入力してください: 
ITEM:kanda