Search found 1879 matches

by Robert Sample
Tue Jul 23, 2013 7:39 pm
Forum: JCL - Job Control Language.
Topic: What is the difference between INCLUDE and JCLLIB?
Replies: 5
Views: 2269
United States of America

Re: What is the difference between INCLUDE and JCLLIB?

If a JCLLIB isn't provided, the default JCL library is searched.
The default JCL library sequence is defined in JES (JES2 or JES3) and the best source of information about the libraries included would be the site support group since each site may (almoist certainly) have different libraries listed.
by Robert Sample
Tue Jul 23, 2013 3:07 pm
Forum: Interview Questions.
Topic: Are Empty and Scratch mutually exclusive in GDG?
Replies: 7
Views: 5122
United States of America

Re: Are Empty and Scratch mutually exclusive in GDG?

The AMS for Catalogs manual gives the parameters for DEFINE GENERATIONDATAGROUP and indicates the difference: EMPTY|NOEMPTY Specifies what action is to be taken for the catalog entries for the GDG base when the number of generation data sets in the GDG base is equal to the LIMIT value and another GD...
by Robert Sample
Tue Jul 23, 2013 5:11 am
Forum: SMS & VSAM and BDAM, BSAM, QSAM, BPAM, ISAM, OAM.
Topic: Can we initialize a BDAM file, if yes - how?
Replies: 3
Views: 1999
United States of America

Re: Can we initialize a BDAM file, if yes - how?

What language is the program you are attempting to execute? Enterprise COBOL, for example, does not support the use of BDAM files in any way and you MUST use VSAM RRDS instead of BDAM if you are writing Enterprise COBOL code. I believe you can still access BDAM files in HLASM, but I would have to re...
by Robert Sample
Tue Jul 23, 2013 12:36 am
Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
Topic: Can we initiate abend in a Job from cobol?
Replies: 7
Views: 3812
United States of America

Re: Can we initiate abend in a Job from cobol?

I think one thing you need to be very aware of is that there really is no way to test for all potential abends. There are thousands of potential abends, many of which only occur under very selective circumstances that may never apply to your code, and others occur based on external factors (example:...
by Robert Sample
Sat Jul 20, 2013 7:58 pm
Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
Topic: How to read a PDS Directory List of Members using COBOL?
Replies: 13
Views: 4793
United States of America

Re: How to read a PDS Directory List of Members using COBOL?

Attached is READPDS2.COB, the COBOL code. It reads a file of PDS data set names, dynamically allocates each, then prints the ISPF statistics (if any) for the PDS.
by Robert Sample
Sat Jul 20, 2013 5:31 pm
Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
Topic: Can we initiate abend in a Job from cobol?
Replies: 7
Views: 3812
United States of America

Re: Can we initiate abend in a Job from cobol?

If you need a system abend, something like this untested code should do it:

Code: Select all

01  WS-ABEND.
    05  WS-A1 PIC X(02) VALUE ',,'.
    05  WS-A2 REDEFINES WS-A1
              PIC S9(04) COMP-3.

*    CAUSE S0C7 ABEND
     ADD 1 TO WS-A2.
by Robert Sample
Fri Jul 19, 2013 6:15 pm
Forum: Introduce Yourself and Share Your IT Experience.
Topic: This is Robert
Replies: 0
Views: 3240
United States of America

This is Robert

I am currently a senior technical analyst supporting applications and our mainframe for the last 4 years. Before that, I spent 10 years as a system programmer, 12 years doing pure application development and support, and 8 years doing QA/testing, software installations, and releases for a software v...
by Robert Sample
Fri Jul 19, 2013 4:53 pm
Forum: SyncSort, SyncTool, SyncGener.
Topic: Is there some order of processing SYSIN statements in SORT?
Replies: 5
Views: 2408
United States of America

Re: Is there some order of processing SYSIN statements in SO

DFSORT (or Syncsort -- whichever you use) is a very sophisticated product. I suspect (but do not know for a fact) that it analyzes the SYSIN and ensures that INREC processing is performed before the sort and OUTREC processing after the sort -- no matter the order of those statements in the SYSIN. Yo...
by Robert Sample
Fri Jul 19, 2013 4:37 pm
Forum: SyncSort, SyncTool, SyncGener.
Topic: How to count no. of records based on a condition?
Replies: 1
Views: 1939
United States of America

Re: How to count no. of records based on a condition?

1. Use Sort to an output dummy file and manually look at the sort output count. 2. Use SAS or EASYTRIEVE if installed at your site 3. Write a program in the language of your choice There are other ways depending upon the specifics of the file and the site, but three should give you a way to proceed.
by Robert Sample
Fri Jul 19, 2013 4:34 pm
Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
Topic: 88-Level and display.
Replies: 7
Views: 3348
United States of America

Re: 88-Level and display.

1. There is no such thing as an 88-level variable. 2. 88 levels are called conditions, not variables. 3. You can display the variable associated with the 88-level, but not the condition. Code like this (untested) would achieve what you asked: 05 WS-VAR PIC X(01). 88 COND-A VALUE 'A'. 88 COND-B VALUE...
by Robert Sample
Fri Jul 19, 2013 4:30 pm
Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
Topic: Can we initiate abend in a Job from cobol?
Replies: 7
Views: 3812
United States of America

Re: Can we initiate abend in a Job from cobol?

Yes, there are subprograms that can be called to invoke an abend. The specific program called depends upon the release of COBOL you are using on the mainframe -- Enterprise COBOL, for example, would CALL 'CEE3ABD' or CALL 'CEE3AB2' to abend (check the Language Environment Programming Reference manua...
by Robert Sample
Fri Jul 19, 2013 4:24 pm
Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
Topic: How to read a PDS Directory List of Members using COBOL?
Replies: 13
Views: 4793
United States of America

Re: How to read a PDS Directory List of Members using COBOL?

Yes, it is possible -- I've written a COBOL program that produces a report of the ISPF statistics for all members of a PDS. The code is not particularly tricky, but it is definitely well beyond a beginner's level (for example, the PDS directory is 256-byte records no matter what the LRECL of the PDS...
by Robert Sample
Thu Jul 18, 2013 4:48 pm
Forum: Mainframe Performance, Capacity Planning and Software Cost.
Topic: What is MIPS, are we being misled By the Term "MIPS"?
Replies: 16
Views: 9415
United States of America

Re: Don't Be Misled By MIPS.

People want to misuse terminology. Even when IBM was using the term, MIPS never (I repeat, NEVER) referred to anything less than a processor (an LPAR in current terminology). If someone wants to cut the total CPU seconds used by an application, then that is the phrase to use -- suggesting they want ...
by Robert Sample
Thu Jul 18, 2013 4:33 pm
Forum: zLinux, USS and other Operating Systems for Mainframes.
Topic: Why DataSet restricted to 44 characters on zOS?
Replies: 6
Views: 3528
United States of America

Re: Why DataSet restricted to 44 characters on zOS?

You first must understand that data set names go back to 1964 when the first 360 was announced. Back then, 44 characters was considered adequate and a good compromise between longer names for readability and shorter names for faster system processing. Tape data set names are 17 characters because th...
by Robert Sample
Thu Jul 18, 2013 4:28 pm
Forum: zLinux, USS and other Operating Systems for Mainframes.
Topic: Installing zLinux.
Replies: 4
Views: 3086
United States of America

Re: Installing zLinux.

IBM supports Linux on System z, which is completely free and done under the GNU General Public License.
by Robert Sample
Wed Jul 17, 2013 8:06 pm
Forum: SAS & Cloud Computing.
Topic: SAS 9.4
Replies: 0
Views: 2594
United States of America

SAS 9.4

SAS has announced release 9.4, which includes a number of enhancements for cloud computing, security, and integrated processing. See the SAS web site at http://www.sas.com/software/sas9/" onclick="window.open(this.href);return false; for details.
by Robert Sample
Wed Jul 17, 2013 5:23 pm
Forum: Scheduling Software for MVS, OS/390 and zOS
Topic: How to capture RUNDATE in JCL?
Replies: 6
Views: 2988
United States of America

Re: How to capture RUNDATE in JCL?

Sort allows you to use the date; or, a program written in the language of your choice will allow you to access the date. However, one thing you need to consider: what is RUN DATE? Example: the job is scheduled in CA-7 to be submitted at 11:55 PM. Even though the job is submitted and eligible to run,...
by Robert Sample
Wed Jul 17, 2013 3:21 pm
Forum: Hercules, z390, zCOBOL, CBT Tape Files.
Topic: How to work with CBT Tape?
Replies: 3
Views: 3915
United States of America

Re: How to work with CBT Tape?

Go to the web site, use either the search function or browse the list by clicking on the "CBTnnn is available to download now" link, then when you click on one of the file links the download prompt box appears. After the download is complete, unzip the cbtxxx.zip file and you will have a f...
by Robert Sample
Tue Jul 16, 2013 6:43 pm
Forum: Tip Of the Day.
Topic: COBOL Tips.
Replies: 15
Views: 9178
United States of America

Re: COBOL Tips.

Regarding tip 1: COBOL recognizes a VSAM ESDS file by the presence of AS-ddname in the SELECT statement.
by Robert Sample
Mon Jul 15, 2013 7:01 pm
Forum: SMS & VSAM and BDAM, BSAM, QSAM, BPAM, ISAM, OAM.
Topic: What is CATALOG, MASTER CATALOG and USER CATALOG?
Replies: 5
Views: 4331
United States of America

Re: What is CATALOG, MASTER CATALOG and USER CATALOG?

A CATALOG contains pointers to data sets and basically consist of data set names and volume serials; the term is not specific as to which type of catalog is being used. The MASTER CATALOG is defined during the IPL process and contains pointers to system data sets required during the IPL process. USE...

Go to advanced search