Search found 439 matches

by William Collins
Mon Sep 08, 2014 2:31 pm
Forum: Thought of the Day, General Talk & Jokes.
Topic: Who will survive?
Replies: 15
Views: 5041

Re: Who will survive?

Number three would kill number one and then all 98 survivors would leg it. Or, about half-way around, after a certain amount of frowning and lip-moving, number one would realise he'd made a bad decision in handing on the sword, and he'd leg it, Followed, in a stuttering "peel" by each of t...
by William Collins
Fri Sep 05, 2014 5:24 pm
Forum: CICS, Middleware and MQ Series.
Topic: A code I could not understand.
Replies: 4
Views: 1332

Re: A code I could not understand.

It looks like it was written by someone unused to having people understand their programs :-) OK, it is interpreting the code returned from an XML-parsing failure, and that is given as a decimal number represented in a binary field, so always needs to be converted to hex, which is what the code is d...
by William Collins
Sat Aug 23, 2014 5:25 pm
Forum: TSO, ISPF & REXX (Do you still do CLIST?!).
Topic: REXX on Personal Computer.
Replies: 4
Views: 2162

Re: REXX on Personal Computer.

enrico, you forgot to turn it off again... could be all types of consequences :-)
by William Collins
Thu Aug 21, 2014 12:37 pm
Forum: Other Mainframe Topics, Off-Topics, FAQs.
Topic: NACHA, DTA etc. and s0c7.
Replies: 6
Views: 723

Re: NACHA, DTA etc. and s0c7.

Validating a file is one thing, validating a program is another. If you have a program A which is testing programs, how do you test program A? It has to work with a infinite number of programs. Now, don't say "you're being silly, it's only working on these strictly-specced programs for a strict...
by William Collins
Wed Aug 20, 2014 3:53 pm
Forum: Follow up on Tips
Topic: Follow up on COBOL Tip 11.
Replies: 3
Views: 4170

Re: Follow up on COBOL Tip 11.

No, it is the use of what is sometimes called a "Priming Read". If you notice, there are two Reads in the example. One immediately before the loop, and one the last thing in the loop. The code within the loop will only be processed when a record is present. With a Read at the top of the lo...
by William Collins
Tue Aug 12, 2014 3:40 pm
Forum: Interview Questions.
Topic: VB file, what will be there in the last byte?
Replies: 2
Views: 600

Re: VB file, what will be there in the last byte?

The last byte of the record will contain the last byte of your data. There is no byte after the last byte of data. There's an end-of-file marker, but you'll never see it.
by William Collins
Mon Aug 11, 2014 3:37 pm
Forum: JCL - Job Control Language.
Topic: How to search for a string in multiple data sets?
Replies: 4
Views: 1624

Re: How to search for a string in multiple data sets?

Why do you want to do that? It'll take a lot of resources. Why don't you know where what you want is, with a littler more certainty?
by William Collins
Mon Aug 11, 2014 3:35 pm
Forum: JCL - Job Control Language.
Topic: Advantage of VB over FB records.
Replies: 3
Views: 1427

Re: Advantage of VB over FB records.

What is unclear? If you have multiple record-types of different sizes (or even one record-type, with a varying length) then you can't use RECFM=Fx. Therefore, rather than just give up and go home, we use RECFM=Vx.
by William Collins
Sun Aug 10, 2014 7:27 pm
Forum: IBM DFSort, ICETOOL, ICEMAN, ICEGENER.
Topic: Using DFSORT need to add column values
Replies: 4
Views: 2334

Re: Using DFSORT need to add column values

There are examples in the documentation. Look up MERGE and the examples there, look up OUTFIL and SECTIONS, remembering to take note of REMOVECC,NODETAIL and TRAILER3. Look at relevant examples.
by William Collins
Sat Aug 09, 2014 11:35 am
Forum: IBM DFSort, ICETOOL, ICEMAN, ICEGENER.
Topic: Using DFSORT need to add column values
Replies: 4
Views: 2334

Re: Using DFSORT need to add column values

You see how much easier it is when you post, almost, everything? If you look at your input, you'll see that the key you are sorting on only has data for the first item of a group of records. Same with the account. If you SORT that, you'll get all those spaces together, and added up, as you did and a...
by William Collins
Thu Jul 31, 2014 3:01 pm
Forum: SyncSort, SyncTool, SyncGener.
Topic: What is syncsort ?
Replies: 13
Views: 4775

Re: What is syncsort ?

Anuj, since there is no connection between the name SyncSort and the message-prefix WER, and since there are probably thousands of bits of code around the world depending on the prefix WER for extracting information, I doubt that we'll ever see that change :-)
by William Collins
Thu Jul 24, 2014 8:24 pm
Forum: IBM DFSort, ICETOOL, ICEMAN, ICEGENER.
Topic: How can we change the sign using SORT?
Replies: 3
Views: 1441

Re: How can we change the sign using SORT?

I'd subtract it from zero. You have to tell SORT the size and type of the result. Yes, you can multiply by -1.
by William Collins
Wed Jul 09, 2014 12:49 pm
Forum: IBM DB2 and IMS DB/DC
Topic: Reading STROBE reports.
Replies: 4
Views: 2290

Re: Reading STROBE reports.

If you have the data outside the Mainframe, you can use any scripting language which is available and familiar to you.

I'd use AWK, because I'm more familiar with that.
by William Collins
Tue Jun 24, 2014 11:09 pm
Forum: Interview Questions.
Topic: Can we edit a file on Tape Drive?
Replies: 4
Views: 1086

Re: Can we edit a file on Tape Drive?

It does depend on what "edit" means. DITTO can. I should think Filemanager/File-Aid can as well.
by William Collins
Thu Jun 19, 2014 4:35 pm
Forum: IBM DFSort, ICETOOL, ICEMAN, ICEGENER.
Topic: ICETOOL and split the files.
Replies: 3
Views: 2129

Re: ICETOOL and split the files.

I'm tempted to just say No. In fact, since "empty records" are difficult to visualize even, I am going to say, No, you can't create them. Can you show the sysout from running the step so that we can see there error, please? Every time you fail to provide information which is asked, it take...
by William Collins
Tue Jun 17, 2014 5:51 pm
Forum: IBM DFSort, ICETOOL, ICEMAN, ICEGENER.
Topic: ICETOOL and split the files.
Replies: 3
Views: 2129

Re: ICETOOL and split the files.

Can you show the sysout from running the step so that we can see there error, please?
by William Collins
Mon Jun 16, 2014 4:07 pm
Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
Topic: Can we move a value of 9(2)v99 COMP to 9(2).99?
Replies: 2
Views: 2267

Re: Can we move a value of 9(2)v99 COMP to 9(2).99?

How else would you ever get a decimal-point to appear, if you could never source it from an implied decimal-point?
by William Collins
Mon Jun 16, 2014 12:37 pm
Forum: SMS & VSAM and BDAM, BSAM, QSAM, BPAM, ISAM, OAM.
Topic: Relation in spanned records and control interval split?
Replies: 4
Views: 1453

Re: Relation in spanned records and control interval split?

You will only get spanned records when, as Robert has said, you record-length is larger than the CI size. This will require more than one CI to contain the data,. CI splits are a different thing, nothing to do with spanned records. I've never even considered using spanned records for VSAM, not come ...
by William Collins
Wed Jun 11, 2014 1:38 pm
Forum: IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.
Topic: Working Storage, linkage section and values.
Replies: 3
Views: 2376

Re: Working Storage, linkage section and values.

Also note the values in the LOCAL-STORAGE SECTION are reset on each entry into a program, if you use LOCAL-STORAGE (this is with or without IS INITIAL).

Go to advanced search