Cobol251Intro

  1. enter desired options after
    • prompt
    • Option ==>
  2. enter desired command after
    • command prompt
    • ==>
  3. "NewLine" key
    Shift-ENTER
  4. function keys
    • F1 = Help
    • F3 = Exit
    • F7 = back
    • F8 = forward
  5. option jumping
    eg =3.4 or 3.4
  6. Split Screen
    • place cursor where you want split and press F2
    • line of dots is the separator
  7. swap(toggle) between two displays
    F9
  8. to close any one screen
    use ISPF EXIT = X
  9. Action Bar
    • similar to Windows Menu Bar
    • place cursor on option and press ENTER
    • ESC to ignore
  10. erase from cursor position to end of field (or line)
    Will reset error condition when keyboard locks after you try to type in a non-input screen field
    • End key
    • Esc key
  11. skip cursor to next input field on a new line

    skip cursor to next input field
    • Shift ENTER
    • TAB
  12. Standard Dataset Name
    • ISPF default allows for a three part (qualifier) dataset name.
    • Each qualifier is separated by a period
    • Each qualifier can be up to 8 alpha-numeric characters but must start with an alpha character.
    • Example: sales05.testdata.withtax
  13. PROJECT
    GROUP
    • Default high-level qualifier is your TSO userid
    • Middle level qualifier is your choice - use COURSE CODE
  14. TYPE
    Low-level qualifier normally indicates type of data ( example .COBOL for cobol source , or .CNTL for JCL source, or .DATA for data)
  15. Scrolling options and keys
    • PAGE, HALF, CSR
    • F7 and F8
  16. ISPFLOG
    • Every time you start TSO/ISPF, a new log file is created to record the actions you take
    • We do not need to keep this log as a permanent record
    • Use option 2 to specify that log file is to be deleted and not printed when you logoff
    • This is stored in profile and will be the automatic action when you use X to exit.
  17. Multiple changes
    • One way to verify and make mass changes to a large file Exclude all lines from the display
    • ==> ex all

    • Find the string ‘xxx’ you want to change
    • ==> f xxx all

    • Use your eyes to verify all correct occurrences and not accidental strings, then change to new string ‘123’
    • ==> c xxx 123 all

    • Display all lines again
    • ==> reset
  18. find and change
    Use PF5 to “repeat FIND” and if found string is correct, use PF6 to “repeat CHANGE”
  19. margins
    • Col 1 to 6 will not be used as sequence numbers.
    • used as maintenance modification code.
    • command UNNUM to remove any sequence numbers
    • compile option NOSEQ to tell the compiler that there are no sequence numbers
  20. MUST start in column 1.
    • For our use, on every program, supply the following as the first statement of the program. This statement MUST start in column 1.
    • CBL NOXREF,SSRANGE,NOSEQ,TEST,LIB
  21. execution JCL
    Add a JCL DD statement in the execution JCL, with the “//GO.” prefix and the dataset name (DSN) of the physical file-name.

    • SELECT F01-INPUT-FILE
    • ASSIGN TO INFILE.
    • //GO.INFILE DD DSN=dataset.name,DISP=SHR
  22. Record size
    • The mainframe operating system always verifies that the actual data file record length is exactly equal to the FD-01 record size in the program. If this is not true, your program will fail when it tries to OPEN the file. The system returns a 3000 return code with error message in JCL (SYSMSG and MSGLOG):
    • IGZ0201W A file attribute mismatch was detected. File F01-INPUT-FILE
  23. Record Area ( aka Buffer Area)
    The record area is defined in the FILE Section immediately after the FD. In Visual Studio, this is allocated memory space at compile time and is always available for use in the procedure division.

    In the mainframe environment, this memory is not obtained until the program is actually running, and the OPEN command has executed successfully.
  24. How do you show columns and remove sequence numbers in lines 1-6.
    • command==> COL
    • command==> UNNUM
  25. navigate method
    SHIFT+ENTER
  26. How to submit a job
    • command ===> SUB
    • or
    • in 3.4 type J to left of member
  27. If list shows many jobs that do not begin with your userid, then type
    COMMAND INPUT ==> PREFIX KC03xxx*
  28. Delete the Held Output
    Type “c” (for cancel) to delete the printout from this job.
  29. Logoff
    • Press PF3 to get back to ISPF Primary Option Menu
    • Enter X to terminate ISPF
    • Type 2 to delete log dataset, press enter (ISPF will remember this option for next time)
    • At READY prompt you can
    • – type command LOGOFF to terminate session
    • – type command ISPF to get back into ISPF
Author
slc53
ID
336459
Card Set
Cobol251Intro
Description
Cobol251Intro
Updated