ISPF Questions
ISPF Questions
ISPF Questions
A. Use PDF command from the TSO panel, which will initiate a
new ISPF session, Type =x to comeback to previous ISPF session.
You can also type 'start' to initiate a new ISPF session, in this case
you have to swap to go to the other session. You can have as many
as 6 sessions open.( This command is installation specific)
2. I want to clear off the PF keys that are shown at the bottom of
my ISPF panels.
A. In IOF menu give 'userid' in SCOPE field. In SDF you may have
to type u xxxxx where xxxxx is the id or some other option will be
available.
A. Use IDCAMS utility with the repro command. You can create a
VSAM from a sequential file: the only condition is the sequential file
should be sorted on the key fields.
11. How do I find out which base cluster does an alternate index file
belong to?
A. Display information in file aid for the '.PATH' file which will show
the base cluster as well as corresponding alt index file.
A. If you press right or PF11 on your 3.4 listing you can see the
dataset statistics or use option 3.1 and I
ISPF Editor
22. How do I see only those lines that contain a particular string?
23. Now I want to see only those lines that contain a particular value
in the display I get after doing an X all, F all.
A. Type F new_value all nx. nx will restrict the search only to the
displayed lines.
26. How do I specify the direction of search i.e., how do I search for
a string in backward / forward direction (w.r.t., your current cursor
position)?
A.
Direction
Keyword
Example
Backward
PREV
Forward
FIRST
F job FIRST finds the first instance of sting job in the file.
ALL
F job FIRST finds the first instance of sting job in the file and gives
total-no-of-instances of sting job in the file.
A. Type F X0980312.
Say, you want to join these 2 lines. First, you need to move the 2nd
line to the position from where you need to join it in the first line.
Then, key in M in columns 1-6 of 2nd line and O in columns 1-6 of
1st line.
38. How do I see the value of the field stored in comp-3 format?
A. Type HEX ON and go to the location of the field and get the
value from the two lines displayed below it.
40. How do I stop the standard numbers on Col 73-80 in the ISPF
editor?
A. Type NUM OFF. Some Clients use Col 73-80 to mark their
changes, in that case you HAVE to have NUM OFF as the option.
42. How do I make the numbers on Col 1-6 contiguous, i.e., the
COBOL numbers
45. I have a file of record length 240 and want to know in which
column the value I am looking at occurs.
File-Aid
48. Above option is tried but still complete file is not displayed.
49. How do I overlay a field with a particular value for all the records
in a file?
A. Type L field_name.