Search found 109 matches

by Akatsukami
Thu Dec 13, 2018 11:27 pm
Forum: Other Mainframe Topics, Off-Topics, FAQs.
Topic: End of File marker.
Replies: 4
Views: 1370

Re: End of File marker.

What medium are we talking about?
by Akatsukami
Wed Sep 26, 2018 8:05 pm
Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
Topic: EXTRACT THE COMPILE DATE AND TIME FOR A LOAD MODULE.
Replies: 3
Views: 2359

Re: EXTRACT THE COMPILE DATE AND TIME FOR A LOAD MODULE.

Robert Sample wrote: Mon Sep 24, 2018 5:28 pmAMBLIST does not give you the compile date and time -- it gives you the date and time of the linkage edit / bind (which most of the time will be very close to the compile date and time).
If there are no static links.
by Akatsukami
Thu Apr 26, 2018 11:57 pm
Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
Topic: Rolling back the COBOL program changes.
Replies: 9
Views: 1985

Re: Rolling back the COBOL program changes.

Robert Sample wrote: Thu Apr 26, 2018 9:01 pmn the future, do not allow 4 groups to update the same program.
Robert, you should know better than to write this*. This is nor practical.
by Akatsukami
Sat Nov 18, 2017 8:22 pm
Forum: IBM DB2 and IMS DB/DC
Topic: Find execution count of a DB2 package or program.
Replies: 8
Views: 1480

Re: Find execution count of a DB2 package or program.

Obsoleting a program should not be done on the basis of how many times it's been run. Is your lead planning to delete the year-end processing on the theory that it's only been run a few dozen times and is therefore not very useful?
by Akatsukami
Sat Nov 18, 2017 8:18 pm
Forum: Interview Questions.
Topic: restart logic for a COBOL program doing some file operations?
Replies: 3
Views: 2317

Re: restart logic for a COBOL program doing some file operations?

The answer is "yes". As both Dr. Sorichetti and Mr. Sample have said, however, it's a stupid and wasteful thing to do.
by Akatsukami
Tue Nov 14, 2017 6:45 pm
Forum: JCL - Job Control Language.
Topic: IEF240I - TASK I/O TABLE EXCEEDS TIOT LIMIT OF 0032K.
Replies: 20
Views: 6895

Re: IEF240I - TASK I/O TABLE EXCEEDS TIOT LIMIT OF 0032K.

Akatsukami wrote: ↑13 Nov 2017 03:42 Note that the interpreter will internally generate one DD statement for each generation data set, which may be why it worked in test but not in production. So are you saying that even if we change the JOB to have multiple steps, it will still be same for the int...
by Akatsukami
Mon Nov 13, 2017 3:12 pm
Forum: JCL - Job Control Language.
Topic: IEF240I - TASK I/O TABLE EXCEEDS TIOT LIMIT OF 0032K.
Replies: 20
Views: 6895

Re: IEF240I - TASK I/O TABLE EXCEEDS TIOT LIMIT OF 0032K.

Akshypal wrote: Mon Nov 13, 2017 11:36 amSo if I make multiple steps deleting the versions of the GDG it will work? In test we did not get this error so not sure how do I test it?
Note that the interpreter will internally generate one DD statement for each generation data set, which may be why it worked in test but not in production.
by Akatsukami
Wed Nov 08, 2017 5:33 pm
Forum: Interview Questions.
Topic: What is the difference between COMP and COMP-3?
Replies: 7
Views: 4033

Re: What is the difference between COMP and COMP-3?

COMP-3 is not eight bytes; it is ROUND((number-of-digits+1)/2) bytes.
by Akatsukami
Sat Nov 04, 2017 3:20 pm
Forum: IBM DB2 and IMS DB/DC
Topic: Find execution count of a DB2 package or program.
Replies: 8
Views: 1480

Re: Find execution count of a DB2 package or program.

To reiterate what Mr. Sample said:
Robert Sample wrote: Tue Mar 07, 2017 9:06 pmWhy do you think it is stored somewhere? What IBM reference material do you have that so indicates?
by Akatsukami
Fri Oct 20, 2017 2:15 am
Forum: Assembler & PL/I.
Topic: PL/I equivalent of C's ifdef?
Replies: 3
Views: 1898

Re: PL/I equivalent of C's ifdef?

Again noting my lack of recent experience in C, I do not believe that there is any real equivalent to #ifdef in the PL/I preprocessor. For certain limited functionality you could use the %SYSPARM function and the %IF statement.
by Akatsukami
Tue Oct 10, 2017 8:57 pm
Forum: Interview Questions.
Topic: Why to give the program name in SYSTSIN.
Replies: 5
Views: 955

Re: Why to give the program name in SYSTSIN.

Interviewers are often wrong.
by Akatsukami
Mon Oct 09, 2017 6:21 pm
Forum: Interview Questions.
Topic: Why to give the program name in SYSTSIN.
Replies: 5
Views: 955

Re: Why to give the program name in SYSTSIN.

Note there is no connection between program and plan; specifying a plan name does not indicate what program should use it.
by Akatsukami
Tue Oct 03, 2017 6:37 pm
Forum: Assembler & PL/I.
Topic: offsetof() equivalent in PL/I?
Replies: 3
Views: 1418

Re: offsetof() equivalent in PL/I?

It's been a couple of decades since I wrote any C, so I may not properly understand what you're looking for, but I think you want the LOCATION function.
by Akatsukami
Mon Oct 02, 2017 10:36 pm
Forum: Site Announcements and Rules.
Topic: Upgrade in site' software.
Replies: 17
Views: 5698

Re: Upgrade in site' software.

I cannot find the link to new posts.
by Akatsukami
Fri Aug 11, 2017 12:31 pm
Forum: JCL - Job Control Language.
Topic: Get all the GDG versions created for the day
Replies: 8
Views: 2048

Re: Get all the GDG versions created for the day

You can get the creation date of a data set via the LISTDSI function of Rexx, or by parsing the output of LISTCAT. Other senpai may have other suggestions. You cannot, however, do it through JCL alone.
by Akatsukami
Wed Jul 19, 2017 8:26 pm
Forum: Other Mainframe Topics, Off-Topics, FAQs.
Topic: Execute every step even if there is an abend?
Replies: 4
Views: 703

Re: Execute every step even if there is an abend?

Unsurprising, as the fine manual indicates that EVEN and ONLY are not available to the COND parameter on the JOB statement, but only on the EXEC statement.
by Akatsukami
Mon Jun 26, 2017 7:35 pm
Forum: Other Mainframe Topics, Off-Topics, FAQs.
Topic: Sending files every 15 minutes.
Replies: 8
Views: 807

Re: Sending files every 15 minutes.

Have your scheduler release the job every 15 minutes.
by Akatsukami
Sat Jun 17, 2017 10:47 pm
Forum: TSO, ISPF & REXX (Do you still do CLIST?!).
Topic: Can we display the output from TSO 'TIME' command in '24 Hour' format?
Replies: 2
Views: 835

Re: Can we display the output from TSO 'TIME' command in '24 Hour' format?

No. Depending on your needs, you may wish to use the Rexx time function.
by Akatsukami
Thu Jun 08, 2017 9:48 pm
Forum: Assembler & PL/I.
Topic: what is the point of WRITE KEYTO?
Replies: 3
Views: 1417

Re: what is the point of WRITE KEYTO?

The Language Reference does not state that KEYTO can be used with WRITE, but rather with READ; see page 299.
by Akatsukami
Mon Jun 05, 2017 11:41 pm
Forum: Other Mainframe Topics, Off-Topics, FAQs.
Topic: Get the data from mainframes automatically.
Replies: 2
Views: 520

Re: Get the data from mainframes automatically.

Yes, this can trivially be done. However, I would question if 80-85% of their time is really spent doing this (if so, it speaks very poorly for their competence) and if they really run the same queries each time (again, if so, it speaks very poorly for their competence).

Go to advanced search