If I am using 3.4 and try to create a new member in an empty PDS, I can’t ?
Use option 2 and the new member name.
I got a B37 abend when tried to save the file.
Your PDS is out of space. Start another session open this PDS in 3.4 and put a ‘z’next to it. It will compress the PDS. All x37 abends are ‘out of space’ situations.
I got an error message ‘NO SPACE IN DIRECTORY’ while creating a member inPDS.
Your PDS can no longer accommodate more members in it. You need to increasethe ‘Directory blocks’. Each directory block can hold at least 4 members.
I want to copy only the first 500 records of my file.
Use file-aid or dataexpert and give the number of records in the option.
The dataset I want is migrated, but I don’t want my screen to be frozen when I recallit.
Type HRECALL next to the dataset name in 3.4
I want to send a message to another person logged on to TSO
Say ‘ TSO SEND ‘message line’ U(user_id)’. If the person in not logged on butyou want to send a message which he can read when he logs on say ‘ TSO SEND‘message line’ U(user_id) LOGON’
I want to see the LIMIT of a GDG.
Use LISTCAT in TSO or File-Aid option 3.2
I want to know the % free and other statistics of my dataset.
If you press ‘right or PF11’ on your 3.4 listing you can see the dataset statistics or use option 3.1 and I
I keep using certain commands that I want to save.
The commands you use regularly can be saved as a function key. E.g. – if youoften change a JCL, save it, submit it and then go to the job spool. You could savea PF key as ‘save; sub; =IOF’ . To do this type ‘KEYS’ on ‘command line’ andmake the necessary entries.
I am not able to delete a dataset that resides on a tape.
Yes. You cannot delete/rename a tape dataset. Only you can uncatalog it.
How do I see only those lines that contain a particular string?
Type ‘X all’ then ‘F all ‘
Now I want to see only those lines that contain a particular value in the display I getafter doing an ‘X all, F all’.
Type ‘ F
all nx’. ‘nx’ will restrict the search only to the displayed lines.
How do I go to a particular line numbers ?
’ command. This is the Label command.
I want to find for a search-string that is Not prefix/suffix of another word. I want tofind for an instance of a search-string that is whole word by itself. How can I do this?
Use keyword ‘word’ at the end of find command. E.g., ‘f job word’ will find for the whole word ‘job’.
Tips on Mainframe ___________________________________________________________ Page 2 of 42