<?xml version="1.0" encoding="UTF-8" standalone="no"?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0"><channel><title>Mainframes Techie !!!!</title><description>Mainframe tips and tools.... A new beginning !!!</description><managingEditor>noreply@blogger.com (blogkns)</managingEditor><pubDate>Fri, 1 Nov 2024 04:46:10 -0700</pubDate><generator>Blogger http://www.blogger.com</generator><openSearch:totalResults xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">4</openSearch:totalResults><openSearch:startIndex xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">1</openSearch:startIndex><openSearch:itemsPerPage xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/">25</openSearch:itemsPerPage><link>http://blogkns-myfavourite.blogspot.com/</link><language>en-us</language><itunes:explicit>no</itunes:explicit><itunes:subtitle>Mainframe tips and tools.... A new beginning !!!</itunes:subtitle><itunes:owner><itunes:email>noreply@blogger.com</itunes:email></itunes:owner><xhtml:meta content="noindex" name="robots" xmlns:xhtml="http://www.w3.org/1999/xhtml"/><item><title>Cobol</title><link>http://blogkns-myfavourite.blogspot.com/2009/05/cobol.html</link><author>noreply@blogger.com (blogkns)</author><pubDate>Wed, 6 May 2009 07:16:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3955218650048772547.post-358993516854029975</guid><description>&lt;strong&gt;History&lt;/strong&gt;&lt;br /&gt;COBOL (Common Business Oriented Language) was one of the earliest high-level programming languages. It was developed in 1959 by a group of computer professionals called the Conference on Data Systems Languages (CODASYL). Since 1959 it has undergone several modifications and improvements. In an attempt to overcome the problem of incompatibility between different versions of COBOL, the American National Standards Institute (ANSI) developed a standard form of the language in 1968. This version was known as American National Standard (ANS) COBOL. In 1974, ANSI published a revised version of (ANS) COBOL, containing a number of features that were not in the 1968 version. In 1985, ANSI published still another revised version that had new features not in the 1974 standard. The language continues to evolve today. Object-oriented COBOL is a subset of COBOL 97, which is the fourth edition in the continuing evolution of ANSI/ISO standard COBOL. COBOL 97 includes conventional improvements as well as object-oriented features. Like the C++ programming language, object-oriented COBOL compilers are available even as the language moves toward standardization.&lt;br /&gt;&lt;br /&gt;The following links will give you more about the cobol.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.ibmmainframes.com/manuals.php"&gt;ibmmainframes&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.geekinterview.com/Interview-Questions/Mainframe/COBOL"&gt;geekinterview&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.csis.ul.ie/cobol/"&gt;csis.ul.ie&lt;/a&gt;&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/COBOL"&gt;wikipedia&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Cobol reference books&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The Essentials of Cobol I (Essential Series) (Paperback)&lt;br /&gt;by Ruknet Cezzar (Author) &lt;br /&gt;&lt;br /&gt;Fundamentals of Structured Cobol (Paperback)&lt;br /&gt;by Robert C. Nickerson (Author) &lt;br /&gt;&lt;br /&gt;Fundamentals of Structured Cobol (Paperback)&lt;br /&gt;by Robert C. Nickerson (Author) &lt;br /&gt;&lt;br /&gt;Handbook of Cobol Techniques and Programming Standards &lt;br /&gt;&lt;br /&gt;COBOL for Dummies Quick Reference (Paperback)&lt;br /&gt;by John W. Fronckowiak (Author) &lt;br /&gt;&lt;br /&gt;Murach's Structured COBOL (Bk/CD)&lt;br /&gt;&lt;br /&gt;Mastering Cobol&lt;br /&gt;By Carol Baroudi&lt;br /&gt;&lt;br /&gt;Structured Programming With Cobol Examples&lt;br /&gt;By Earl H. Parsons&lt;br /&gt;&lt;br /&gt;COBOL for OS/390 Power Programming&lt;br /&gt;By David Shelby Kirk&lt;br /&gt;&lt;br /&gt;A Simplified Guide to Structured Cobol Programming&lt;br /&gt;By Daniel D. McCracken, Donald G. Golden&lt;br /&gt;&lt;br /&gt;Introduction to Object COBOL&lt;br /&gt;By E. Reed Duke&lt;br /&gt;&lt;br /&gt;COBOL Unleashed By Jon Wessler&lt;br /&gt;&lt;br /&gt;Sams Teach Yourself COBOL in 24 Hours (Paperback)&lt;br /&gt;by Thane Hubbell (Author)&lt;br /&gt;&lt;br /&gt;Advanced Structured Cobol : M. B. Khan, Marle P. Martin&lt;br /&gt;&lt;br /&gt;Structured COBOL programming‎ &lt;br /&gt;by Nancy B. Stern, Robert A. Stern  &lt;br /&gt;&lt;br /&gt;The programmer's ANSI COBOL reference manual‎ &lt;br /&gt;by Donald A. Sordillo &lt;br /&gt;&lt;br /&gt;Fundamentals of structured COBOL programming‎&lt;br /&gt;by Carl Feingold</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>SQL Basics</title><link>http://blogkns-myfavourite.blogspot.com/2009/05/sql-basics.html</link><author>noreply@blogger.com (blogkns)</author><pubDate>Sat, 2 May 2009 12:15:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3955218650048772547.post-5505027678989186074</guid><description>&lt;p&gt;&lt;span style="font-size:85%;"&gt;SQL is a standard language for accessing and manipulating databases.&lt;br /&gt;SQL stands for Structured Query Language&lt;br /&gt;SQL lets you access and manipulate databases&lt;br /&gt;SQL is an ANSI (American National Standards Institute) standard&lt;br /&gt;&lt;strong&gt;&lt;span style="color:#990000;"&gt;What Can SQL do?&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;SQL can execute queries against a database&lt;br /&gt;SQL can retrieve data from a database&lt;br /&gt;SQL can insert records in a database&lt;br /&gt;SQL can update records in a database&lt;br /&gt;SQL can delete records from a database&lt;br /&gt;SQL can create new databases&lt;br /&gt;SQL can create new tables in a database &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;SQL can create stored procedures in a database&lt;br /&gt;SQL can create views in a database&lt;br /&gt;SQL can set permissions on tables, procedures, and views &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;color:#660000;"&gt;&lt;strong&gt;&lt;span style="color:#990000;"&gt;See the following SQL&lt;/span&gt; Links&lt;/strong&gt;&lt;br /&gt;&lt;/span&gt;   &lt;a href="http://www.w3schools.com/Sql/sql_intro.asp"&gt;http://www.w3schools.com/Sql/sql_intro.asp&lt;/a&gt;&lt;br /&gt;   &lt;a href="http://en.wikipedia.org/wiki/SQL"&gt;http://en.wikipedia.org/wiki/SQL&lt;/a&gt;&lt;br /&gt;   &lt;a href="http://sqlcourse.com/"&gt;http://sqlcourse.com/&lt;/a&gt;&lt;br /&gt;   &lt;a href="http://sqlzoo.net/"&gt;http://sqlzoo.net/&lt;/a&gt;&lt;br /&gt;   &lt;a href="http://www.jcc.com/sql.htm"&gt;http://www.jcc.com/sql.htm&lt;/a&gt;&lt;br /&gt;   &lt;a href="http://www.sql-tutorial.net/"&gt;http://www.sql-tutorial.net/&lt;/a&gt;&lt;br /&gt;   &lt;a href="http://www.1keydata.com/sql/sql.html"&gt;http://www.1keydata.com/sql/sql.html&lt;/a&gt;&lt;br /&gt;   &lt;a href="http://www.sqlmag.com/"&gt;http://www.sqlmag.com/&lt;/a&gt;&lt;br /&gt;   &lt;a href="http://www.geocities.com/SiliconValley/Vista/2207/sql1.html"&gt;http://www.geocities.com/SiliconValley/Vista/2207/sql1.html&lt;/a&gt;&lt;br /&gt;   &lt;a href="http://www.sql-ex.ru/"&gt;http://www.sql-ex.ru/&lt;/a&gt;&lt;br /&gt;   &lt;a href="http://www.contrib.andrew.cmu.edu/~shadow/sql.html"&gt;http://www.contrib.andrew.cmu.edu/~shadow/sql.html&lt;/a&gt;&lt;br /&gt;   &lt;a href="http://www.mysql.com/"&gt;http://www.mysql.com/&lt;/a&gt;&lt;br /&gt;   &lt;a href="http://www.firstsql.com/tutor.htm"&gt;http://www.firstsql.com/tutor.htm&lt;/a&gt;&lt;br /&gt;   &lt;a href="http://kb.iu.edu/data/ahux.html"&gt;http://kb.iu.edu/data/ahux.html&lt;/a&gt;&lt;br /&gt;   &lt;a href="http://www.tizag.com/sqlTutorial/"&gt;http://www.tizag.com/sqlTutorial/&lt;/a&gt;&lt;br /&gt;   &lt;a href="http://www.baycongroup.com/tocsql.htm"&gt;http://www.baycongroup.com/tocsql.htm&lt;/a&gt;&lt;br /&gt;   &lt;a href="http://www.dbbm.fiocruz.br/class/Lecture/d17/sql/jhoffman/sqltut.html"&gt;http://www.dbbm.fiocruz.br/class/Lecture/d17/sql/jhoffman/sqltut.html&lt;/a&gt;&lt;br /&gt;   &lt;a href="http://www.sqlcommands.net/"&gt;http://www.sqlcommands.net/&lt;/a&gt;&lt;br /&gt;   &lt;a href="http://www.webappsec.org/projects/threat/classes/sql_injection.shtml"&gt;http://www.webappsec.org/projects/threat/classes/sql_injection.shtml&lt;/a&gt;&lt;br /&gt;   &lt;a href="http://www.red-gate.com/products/SQL_Compare/index.htm"&gt;http://www.red-gate.com/products/SQL_Compare/index.htm&lt;/a&gt;&lt;br /&gt;   &lt;a href="http://www.webdevelopersnotes.com/tutorials/sql/index.php3"&gt;http://www.webdevelopersnotes.com/tutorials/sql/index.php3&lt;/a&gt;&lt;br /&gt;   &lt;a href="http://www.orafaq.com/wiki/SQL_FAQ"&gt;http://www.orafaq.com/wiki/SQL_FAQ&lt;/a&gt;&lt;br /&gt;   &lt;a href="http://databases.about.com/od/sql/a/sqlfundamentals.htm"&gt;http://databases.about.com/od/sql/a/sqlfundamentals.htm&lt;/a&gt;&lt;br /&gt;   &lt;a href="http://www.sqlquiz.com/"&gt;http://www.sqlquiz.com/&lt;/a&gt;&lt;br /&gt;   &lt;a href="http://www.quackit.com/sql/tutorial/"&gt;http://www.quackit.com/sql/tutorial/&lt;/a&gt;&lt;br /&gt;   &lt;a href="http://cas.sdss.org/dr7/en/help/docs/sql_help.asp"&gt;http://cas.sdss.org/dr7/en/help/docs/sql_help.asp&lt;/a&gt;&lt;br /&gt;   &lt;a href="http://www.commandprompt.com/ppbook/c1164.htm"&gt;http://www.commandprompt.com/ppbook/c1164.htm&lt;/a&gt;&lt;br /&gt;   &lt;a href="http://www.sqlrecipes.com/"&gt;http://www.sqlrecipes.com/&lt;/a&gt;&lt;br /&gt;   &lt;a href="http://www.sqltraining.org/"&gt;http://www.sqltraining.org/&lt;/a&gt;&lt;br /&gt;   &lt;a href="http://www.fluffycat.com/SQL/"&gt;http://www.fluffycat.com/SQL/&lt;/a&gt;&lt;br /&gt;   &lt;a href="http://datasplash.cs.berkeley.edu:8000/sequoia/dba/montage/FAQ/SQL_TOC.html"&gt;http://datasplash.cs.berkeley.edu:8000/sequoia/dba/montage/FAQ/SQL_TOC.html&lt;/a&gt;&lt;br /&gt;   &lt;a href="http://www.sommarskog.se/dynamic_sql.html"&gt;http://www.sommarskog.se/dynamic_sql.html&lt;/a&gt;&lt;br /&gt;   &lt;a href="http://www.mckoi.com/database/SQLSyntax.html"&gt;http://www.mckoi.com/database/SQLSyntax.html&lt;/a&gt; &lt;/p&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Mainframes Tips</title><link>http://blogkns-myfavourite.blogspot.com/2009/04/mainframes-tips.html</link><author>noreply@blogger.com (blogkns)</author><pubDate>Thu, 30 Apr 2009 23:49:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3955218650048772547.post-9065456072833957704</guid><description>&lt;p&gt;TIP # 001&lt;/p&gt;&lt;p&gt;ISPFLets start with a generic and simpler one.Consider that you are editing a file/program and you want to know the changes you have donesince the last SAVE command.How to find that?&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;span style="color:#000099;"&gt;Answer:&lt;/span&gt;&lt;/strong&gt;Give COMPARE SESSION on the command lineFurther use of COMPARE commands...- Can be used like 3.13 option&lt;/p&gt;&lt;p&gt;&lt;br /&gt;TIP # 002&lt;/p&gt;&lt;p&gt;ISPFUsually the PDS or PS bears the ID of the creator or the ID of the person who modified itrecently.But is it possible to change these ID values without leaving trace of one’s own ID?&lt;/p&gt;&lt;p&gt;&lt;span style="color:#000099;"&gt;&lt;strong&gt;Answer:&lt;/strong&gt;&lt;/span&gt;Yes its possible! In the command area against the member name or PS name, by giving ‘G’.Dialog box will pop up allowing you to change the ID values.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;TIP # 003&lt;/p&gt;&lt;p&gt;ISPFSuppose you are in a ISPF Screen and want to know in which TSO Region ( Development,Production, or other TSO regions) you are now .&lt;/p&gt;&lt;p&gt;&lt;span style="color:#000099;"&gt;&lt;strong&gt;Answer:&lt;/strong&gt;&lt;/span&gt;Issue on the command line : SAREAISPF STATISTICS Pop-up window will show you the region( and other info too) &lt;/p&gt;&lt;p&gt;&lt;br /&gt;TIP # 004&lt;/p&gt;&lt;p&gt;ISPFAny command entered in the COMMAND LINE disappears after the successful execution of itsintended function.If you want to repeat the same command , you got to re-type it or use some PF key to retrieve thelast command entered.But here is a cool method the make the command entered not to disappear and stay on the screen.Precede commands with '&amp;amp; 'For Example:COMMAND ===&gt; &amp;amp;C '110-PARA' '220-PARA' SCROLL ===&gt; CSR****** ************************ TOP OF DATA **************000001 IDENTIFICATION DIVISION.000002 PROGRAM-ID. COBOLSAMY.000003 DATE-WRITTEN. APRIL 2004.After the execution of the command, the below command stays on the screen.This way you can entering the same command or modifying the command a little and using itmultiple times.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;TIP # 005&lt;/p&gt;&lt;p&gt;ISPFWhile trying to open any member in a PDS, we sometimes come across"member in use" message. In that situation, if you want to know who is using the membercurrently, press F1 twice.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;TIP # 006&lt;/p&gt;&lt;p&gt;ISPFWe usual search for members in a PDS by the first string of the members.Consider this situation .I have a PDS and I want to search it for member only by middle string of the members.e.g. there are some members like BESTJCL1,RESTJCL2,PESTCBL1, BESTCBL2,WESTCBL3,TESTASM1,BESTASM2...etcI want to find members which have CBL in them.How can I search and find these members? &lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;span style="color:#000099;"&gt;Answer:&lt;/span&gt;&lt;/strong&gt;Use ISPF 4.12 option.Specify the dataset to be searched and the pattern of the string.Specify the LANG type as COBAnd select the browse option.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;TIP # 007&lt;/p&gt;&lt;p&gt;ISPFHow can I find the last 10 datasets that I have accessed ?&lt;/p&gt;&lt;p&gt;&lt;span style="color:#000099;"&gt;&lt;strong&gt;Answer:&lt;/strong&gt;&lt;/span&gt;1.GO TO ISPF 3.4 option.2. On the top, there is a MENUBAR. Select REFLIST3. Select Option 1 in it.Using this option you can find out the last 30 datasets that you have accessed....&lt;/p&gt;&lt;p&gt;&lt;br /&gt;TIP # 008&lt;/p&gt;&lt;p&gt;ISPFAlternate to SuperCE Option(3.13) is to use the macro COMPARE .Use this when you there is less difference between the two files.1.Open a DSN in EDIT or VIEW Mode2. On the Command line , issue COMP 'YOUR.SECOND.COMPARISON.DSN'3. If you want only the changes to be listed, issue COMP'YOUR.SECOND.COMPARISON.DSN' EXC &lt;/p&gt;&lt;p&gt;&lt;br /&gt;TIP # 009&lt;/p&gt;&lt;p&gt;ISPFWhile Browsing Internet, we have some cool option called address autocomplete…we entersome letters in the address bar and the browser auto completes it with the closest guess.Does MAINFRAME has the same feature??&lt;/p&gt;&lt;p&gt;&lt;span style="color:#000099;"&gt;&lt;strong&gt;Answer:&lt;/strong&gt;&lt;/span&gt;Yes! It has “Autocomplete” feature!!!How to use it?1.go to ISPF 3.4 ,2. enter KEYS in the command line,KEYS window will popup3. set any key to AUTOTYPE, save and exit2. now type any Dataset partially and press the assigned PFkey!!Note: It will not retrieve GDGs and VSAM files.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;TIP # 010&lt;/p&gt;&lt;p&gt;ISPFI want to find a member but I don’t know the PDS to which it belongs. I only know the highlevel qualifier of the PDS.&lt;/p&gt;&lt;p&gt;&lt;span style="color:#000099;"&gt;&lt;strong&gt;Answer:&lt;/strong&gt;&lt;/span&gt;For example, lets consider high level Qualifier as MYID.MYAPPLN.* and member as MYMEM1. Go to 3.4 and list all PDS with MYID.MYAPPLN.*2. Now issue, MEMBER MYMEM on the command line&lt;/p&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item><item><title>Wrap the data in each record in ISPF</title><link>http://blogkns-myfavourite.blogspot.com/2009/04/wrap-data-in-each-record-in-ispf.html</link><author>noreply@blogger.com (blogkns)</author><pubDate>Thu, 30 Apr 2009 23:35:00 -0700</pubDate><guid isPermaLink="false">tag:blogger.com,1999:blog-3955218650048772547.post-1246188616637104275</guid><description>&lt;div&gt;&lt;font color="#3366ff"&gt; &lt;/font&gt;&lt;font color="#3333ff"&gt;&lt;strong&gt;Q1.&lt;/strong&gt;&lt;/font&gt;I have data which is of length 160. For some reasons, I want to wrap the data in each record to 80characters and have the next 80 characters in the next line. So basically what I am looking for is ,“Is there command similar to Wordwrap (as in Notepad or MS WORD) in mainframe?”&lt;/div&gt;
&lt;br /&gt;&lt;div&gt;&lt;strong&gt;&lt;font color="#3333ff"&gt;A1.&lt;/font&gt;&lt;/strong&gt;Yes, with ISPF, one can wrap the data as required.To do that,&lt;/div&gt;
&lt;br /&gt;&lt;div&gt;1.Open the dataset in ISPF EDIT mode.&lt;/div&gt;
&lt;br /&gt;&lt;div&gt;2.In the first line, issue the line command: TF80 (as in this case I want to wrap to 80 chars perline)&lt;/div&gt;
&lt;br /&gt;&lt;div&gt;3.All the subsequent lines will wrap to 80 chars per line.&lt;/div&gt;</description><thr:total xmlns:thr="http://purl.org/syndication/thread/1.0">0</thr:total></item></channel></rss>