Mainframes, MVS, zOS and Related Languages Support Forums Help & Support Forum for and by Mainframe Users 2013-08-21T11:02:49+00:00 http://www.ibm-mainframes.com/feed.php?f=50 2013-08-21T11:02:49+00:00 2013-08-21T11:02:49+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=41&p=903#p903 <![CDATA[Tip Of the Day. • Re: ISPF Tips.]]> 15. DEL NX ALL:As Robert talked about NX after Tip-10; in extension to that, for example, this primary command allows you to physically delete all of the displayed lines from a file. In doing so it leaves all excluded lines intact.

Statistics: Posted by Anuj Dhawan — Wed Aug 21, 2013 11:02 am


]]>
2013-08-21T10:59:09+00:00 2013-08-21T10:59:09+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=41&p=902#p902 <![CDATA[Tip Of the Day. • Re: ISPF Tips.]]> 14. DELete Command:In continuation with command EXclude stated in Tip-13, the phenomenon of excluding lines can also be used for selectively deleting lines from a member. You can do a "mass-delete" of lines too.
Code:
DEL EX ALL
This primary command will physically delete all of the excluded lines from a file. In doing so, it leaves all displayed lines intact.

Statistics: Posted by Anuj Dhawan — Wed Aug 21, 2013 10:59 am


]]>
2013-08-21T10:52:36+00:00 2013-08-21T10:52:36+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=41&p=901#p901 <![CDATA[Tip Of the Day. • Re: ISPF Tips.]]> 13. EX Command
Code:
EX 'ANUJ' ALL
The above primary command will exclude all lines in the member/file which contain the string ‘ANUJ’.

Statistics: Posted by Anuj Dhawan — Wed Aug 21, 2013 10:52 am


]]>
2013-08-20T13:42:45+00:00 2013-08-20T13:42:45+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=41&p=900#p900 <![CDATA[Tip Of the Day. • Re: ISPF Tips.]]> 12. BNDSThe line command ‘BNDS’ allows you to set the bounds (boundaries) in your edited member for the FIND, CHANGE, or ‘shift’ commands.

Enter ‘BNDS’ in the line command area and press enter. Then overtype the ‘<’ and ‘>’ where you want the new left and right bounds to be, or, if you already know the column numbers, simply enter ‘BNDS xxx yyy’ where xxx and yyy are the left and right bounds. Subsequent find, change, or shift commands will then only take effect within the bounds that you have set.

Warning: You must restore the bounds when you are done; otherwise these new bound settings remain in effect indefinitely for the entire PDS, even if you log off and log back on again! To make sure that the bounds are reset to the defaults, just enter ‘BNDS’ (with no arguments) in the primary command area. If you fail to do this, your "FIND" and "CHANGE" commands will only work within the column boundaries that were set with the last BNDS command.


Click here to go to Fine Manual from IBM for BNDS.

Statistics: Posted by Anuj Dhawan — Tue Aug 20, 2013 1:42 pm


]]>
2013-08-20T13:17:18+00:00 2013-08-20T13:17:18+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=44&p=899#p899 <![CDATA[Tip Of the Day. • Re: VSAM Tips.]]> Statistics: Posted by Anuj Dhawan — Tue Aug 20, 2013 1:17 pm


]]>
2013-08-13T05:56:49+00:00 2013-08-13T05:56:49+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=42&p=835#p835 <![CDATA[Tip Of the Day. • Re: JCL Tips.]]>
First method - You can use RESTART from STEP05, however, it will try to execute the subsequent steps too. To avoid that, we have to insert null statement after step05 to prevent the execution of subsequent steps.

Second method - in this we don’t need to edit the Job steps but we'd to alter the Jobcard. In JOBCARD we'd need to code COND parameter. That way, when the Job executes only the Step mentioned in the RESTART parameter will get executed. For example:
Code:
 RESTART=STEP05,COND=(0,LE)


Third method - you can use IEBEDIT too.

Fourth Method - Using Labels.In this, mark the start of step/ with say, ".A" and the end of the step/s with ".B" and at command line write
Code:
SUB .A .B
. However, this will impose a condition of 'how to include the Job card'. That I leave on the reader to explore... :)

Statistics: Posted by Anuj Dhawan — Tue Aug 13, 2013 5:56 am


]]>
2013-08-10T17:17:00+00:00 2013-08-10T17:17:00+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=42&p=816#p816 <![CDATA[Tip Of the Day. • Re: JCL Tips.]]>
Quote:

Back when punched cards were used, a null coded on distinctive colored cards was used to help operators separate card decks and so it helped to identify the end-of-job card, and the start of next job for the operators.

Statistics: Posted by Anuj Dhawan — Sat Aug 10, 2013 5:17 pm


]]>
2013-08-10T17:11:02+00:00 2013-08-10T17:11:02+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=43&p=815#p815 <![CDATA[Tip Of the Day. • Re: COBOL Tips.]]>

The answer is: You READ FILE because, there is no way out to know in advance:
  1. If there is actually a record to read or not
  2. For variable or undefined length files, one does not know how long the next record will be if there is one.

And You WRITE RECORD because without knowing above two answers one can not write in and while WRITing program already know them.

Statistics: Posted by Anuj Dhawan — Sat Aug 10, 2013 5:11 pm


]]>
2013-08-10T17:09:08+00:00 2013-08-10T17:09:08+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=43&p=814#p814 <![CDATA[Tip Of the Day. • Re: COBOL Tips.]]> Statistics: Posted by Anuj Dhawan — Sat Aug 10, 2013 5:09 pm


]]>
2013-08-06T20:01:16+00:00 2013-08-06T20:01:16+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=41&p=768#p768 <![CDATA[Tip Of the Day. • Re: ISPF Tips.]]>
Note 1: a handy adjunct to the exclude function is the FLIP primary command. FLIP reverses the exclude status of all lines (default) or selected lines (by using options) so all excluded lines display while all non-excluded lines become excluded.

Note 2: the CHANGE (C) primary command allows use of X option (to apply only to excluded lines) or NX (to apply only to non-excluded lines.

Statistics: Posted by Robert Sample — Tue Aug 06, 2013 8:01 pm


]]>
2013-08-06T18:50:37+00:00 2013-08-06T18:50:37+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=41&p=767#p767 <![CDATA[Tip Of the Day. • Re: ISPF Tips.]]> 10. Excluding Lines of TextExcluding Lines of Text is quite handy when a user wants to view two locations within an edited member at the same time. To exclude the intervening lines one can use the “XX” block command. Individual lines may be excluded by the line command “X”.

It should be noted that -- when a line is excluded, it is simply excluded from the display, it is not modified nor deleted.

Exclusion remains in effect only for the current edit session so if you save a member while lines are excluded and then bring it up in edit or view again, you will notice that the excluded lines reappear.

As used for other commands, to remove all exclusions during an edit session, enter the primary command “RESET” and all the excluded lines will reappear.

Statistics: Posted by Anuj Dhawan — Tue Aug 06, 2013 6:50 pm


]]>
2013-08-06T10:06:52+00:00 2013-08-06T10:06:52+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=43&p=749#p749 <![CDATA[Tip Of the Day. • Re: COBOL Tips.]]> Statistics: Posted by Anuj Dhawan — Tue Aug 06, 2013 10:06 am


]]>
2013-08-06T10:06:14+00:00 2013-08-06T10:06:14+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=43&p=748#p748 <![CDATA[Tip Of the Day. • Re: COBOL Tips.]]> Statistics: Posted by Anuj Dhawan — Tue Aug 06, 2013 10:06 am


]]>
2013-08-06T09:59:22+00:00 2013-08-06T09:59:22+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=41&p=747#p747 <![CDATA[Tip Of the Day. • Re: ISPF Tips.]]> 9. COL/COLS:The line command ‘COL’ (or ‘COLS’) inserts a column heading line in your edit display at that line location, as shown below
Code:
   File  Edit  Edit_Settings  Menu  Utilities  Compilers  Test  Help           
 -------------------------------------------------------------------------------
 VIEW       T1234AD.FIRST.FILE                              Columns 00001 00072
 Command ===>                                                  Scroll ===> CSR 
 ****** ***************************** Top of Data ******************************
 =COLS> ----+----1----+----2----+----3----+----4----+----5----+----6----+----7--
 000001 1234                                                                   
 000002 5678                                                                   
 000003 9101                                                                   
 ****** **************************** Bottom of Data ****************************

The column line can be removed by a Delete line command (‘D’ line command), or by entering the primary command RESET.

I find the column line especially useful when editing a dataset and finding where the fields begin and end within a record or when working with SYSIN data. It is also useful for locating certain column positions when writing programs and your shop necessitates some special column positions for you.

In edit and view mode, the COLS command is a line command. In browse mode, the COLS command is entered in the primary command line.

Statistics: Posted by Anuj Dhawan — Tue Aug 06, 2013 9:59 am


]]>
2013-08-05T13:23:43+00:00 2013-08-05T13:23:43+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=324&p=738#p738 <![CDATA[Tip Of the Day. • Re: TSO Tips and Commands.]]>
Ex:
Code:
HELP ALLOCATE

Statistics: Posted by Anuj Dhawan — Mon Aug 05, 2013 1:23 pm


]]>
2013-08-05T13:13:29+00:00 2013-08-05T13:13:29+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=324&p=737#p737 <![CDATA[Tip Of the Day. • TSO Tips and Commands.]]>
If the ISPF interface is not started or has been shut down then TSO commands can be entered at the READY prompt.

However, in 2013 - most of us (The Programmers), run ISPF on top of TSO -which, in turn, is started using the PDF/ISPF command. Now, to enter TSO commands after the ISPF interface is started, one need to either precede the desired command with TSO (eg. 'tso asm') or go into ISPF option 6 and enter the TSO command there.

Statistics: Posted by Anuj Dhawan — Mon Aug 05, 2013 1:13 pm


]]>
2013-08-03T19:54:07+00:00 2013-08-03T19:54:07+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=41&p=714#p714 <![CDATA[Tip Of the Day. • Re: ISPF Tips.]]> 8. SWAPBAR- SWAPBAR is one of the ISPF primary commands. I'm sure I'm not the only one who gets to the point of getting the dreaded "no more screens" error daily while working with ISPF. So here is a a solution for them from IBM in the form of SWAPBAR command.

The list of logical sessions can be activated by entering the SWAPBAR or SWAPBAR ON command on the command line. The list is displayed on the last line of the physical screen.

The entry for each logical session is the screen name if assigned or, if a screen name is not available, it is the panel name of the current panel displayed for the logical session. The entry for the active logical session has an asterisk (*) in the first character position and, if the name is 8 bytes long, the last character is not displayed. Also, the alternate logical session has a "-" in the first position and the 8th character is not displayed.

The list remains active until you enter the SWAPBAR or SWAPBAR OFF command. The setting for the SWAPBAR is maintained in the system profile member and applies across logons.

On some 3270 emulators, you have to tell them to allow you to click on the SWAPBAR label to jump to that screen.

And one more thing - This is applicable to users of ISPF version 1.10 or higher.

Statistics: Posted by Anuj Dhawan — Sat Aug 03, 2013 7:54 pm


]]>
2013-07-29T17:58:05+00:00 2013-07-29T17:58:05+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=41&p=659#p659 <![CDATA[Tip Of the Day. • Re: ISPF Tips.]]> Statistics: Posted by Anuj Dhawan — Mon Jul 29, 2013 5:58 pm


]]>
2013-07-29T15:05:24+00:00 2013-07-29T15:05:24+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=41&p=658#p658 <![CDATA[Tip Of the Day. • Re: ISPF Tips.]]>
Code:
***************************** Top of Data ******************************
THIS IS TO SHOW HX LINE COMMAND.                                       
ECCE4CE4ED4ECDE4CE4DCDC4CDDDCDC44444444444444444444444444444444444444444
3892092036028660870395503644154B0000000000000000000000000000000000000000
-----------------------------------------------------------------------
THIS IS NOT TO SHOW HX LINE COMMAND.                                   
**************************** Bottom of Data ****************************

Statistics: Posted by Anuj Dhawan — Mon Jul 29, 2013 3:05 pm


]]>
2013-07-26T12:53:02+00:00 2013-07-26T12:53:02+00:00 http://www.ibm-mainframes.com/viewtopic.php?t=256&p=622#p622 <![CDATA[Tip Of the Day. • Re: We made a Century!!]]> Making Century is a history now -- We made Much More than a Double Century!

script
Most users ever online was 250 on 26 Jul 2013
script 01:01


What are you waiting for -- come get along with this busy community to clear, debate and discuss your doubts on IBM Mainframes, MVS, zOS and related Languages.

Statistics: Posted by Anuj Dhawan — Fri Jul 26, 2013 12:53 pm


]]>