-
enter desired options after
-
enter desired command after
-
"NewLine" key
Shift-ENTER
-
function keys
- F1 = Help
- F3 = Exit
- F7 = back
- F8 = forward
-
option jumping
eg =3.4 or 3.4
-
Split Screen
- place cursor where you want split and press F2
- line of dots is the separator
-
swap(toggle) between two displays
F9
-
to close any one screen
use ISPF EXIT = X
-
Action Bar
- similar to Windows Menu Bar
- place cursor on option and press ENTER
- ESC to ignore
-
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
-
skip cursor to next input field on a new line
skip cursor to next input field
-
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
-
PROJECT
GROUP
- Default high-level qualifier is your TSO userid
- Middle level qualifier is your choice - use COURSE CODE
-
TYPE
Low-level qualifier normally indicates type of data ( example .COBOL for cobol source , or .CNTL for JCL source, or .DATA for data)
-
Scrolling options and keys
-
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.
-
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
-
find and change
Use PF5 to “repeat FIND” and if found string is correct, use PF6 to “repeat CHANGE”
-
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
-
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
-
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
-
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
-
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.
-
How do you show columns and remove sequence numbers in lines 1-6.
- command==> COL
- command==> UNNUM
-
navigate method
SHIFT+ENTER
-
How to submit a job
- command ===> SUB
- or
- in 3.4 type J to left of member
-
If list shows many jobs that do not begin with your userid, then type
COMMAND INPUT ==> PREFIX KC03xxx*
-
Delete the Held Output
Type “c” (for cancel) to delete the printout from this job.
-
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
|
|