Search found 732 matches

by William Collins
Sun Feb 05, 2017 10:29 pm
Forum: COBOL
Topic: cobol jcl query
Replies: 1
Views: 1300

Thousands of ways. Millions. Bit of a silly question.
by William Collins
Mon Dec 19, 2016 11:40 am
Forum: DFSORT , ICETOOL & Utilities
Topic: DFSORT INCLUDE Output file order getting changed
Replies: 1
Views: 1495

Well that is a completely ridiculous assertion, which is entirely incorrect.

If you want to know what is wrong, show your full SORT cards, your SYSOUT for the step, representative sample input which shows the issue, expected output, and output obtained.
by William Collins
Wed Oct 12, 2016 9:17 am
Forum: JCL INTERVIEW QUESTIONS
Topic: is the answer correct??
Replies: 10
Views: 12722

SPAM
by William Collins
Tue Sep 06, 2016 8:45 pm
Forum: JCL
Topic: mainframe Spool Handling
Replies: 5
Views: 3145

Well, if you are talking about a Mainframe system, if you do not know how to troubleshoot spool problems, then you won't need to know. Unless you are a System's Programmer, you will never do this, and will never be allowed to do this. Your site will likely be running JES2 or JES3. Determine which, g...
by William Collins
Mon Sep 05, 2016 8:56 pm
Forum: JCL
Topic: mainframe Spool Handling
Replies: 5
Views: 3145

IBM manuals for this are freely available. What did you not find? Why would you expect any response within one minute? Did you pay extra to expect such service?
by William Collins
Mon Sep 05, 2016 10:22 am
Forum: DFSORT , ICETOOL & Utilities
Topic: formatting a numeric field in input file
Replies: 7
Views: 4366

For reversing the sign of a value, subtracting from zero is more efficient than multiply by minus one.
by William Collins
Sat Aug 06, 2016 11:50 am
Forum: DFSORT , ICETOOL & Utilities
Topic: Syncsort - scanning a record for a string of 16 digits
Replies: 6
Views: 4877

If you want to change all occurences of that value to 16 X's (or anything else) look at using FINDREP.
by William Collins
Sat Aug 06, 2016 11:48 am
Forum: JCL
Topic: Copy through JCL
Replies: 1
Views: 2109

Use your SORT product, with a COPY operation, and multiple OUTFIL statements (or multiple files for one OUTFIL). Why do you want to do this? :|
by William Collins
Thu Jun 16, 2016 11:05 pm
Forum: JCL
Topic: JCL to calculate age by subtracting 2 dates
Replies: 1
Views: 4247

Have you looked at the documentation of the data functions your SORT product has available?
by William Collins
Mon Jun 06, 2016 10:03 am
Forum: Admin Announcements
Topic: Vaccination for Children
Replies: 2
Views: 14281

So you are spamming a charity announcement? That's nice.

Oh, you are a Doctor and you forgot the kids' vaccines?

I'm not really sure which is worse.
by William Collins
Wed Jun 01, 2016 10:17 am
Forum: DFSORT , ICETOOL & Utilities
Topic: Is this possible using Sort program
Replies: 2
Views: 3674

Well, you'll need to SORT on branch, so that leaves SUM as an easy option, but I think still better to use OUTFIL reporting features, REMOVECC,NODETAIL and SECTIONS with TRAILER3. SORT will take care of the field-sizes, with SUM you have to do that yourself (extending the fields in INREC if they may...
by William Collins
Thu May 12, 2016 9:18 pm
Forum: COBOL
Topic: MOVING THE SIGN
Replies: 2
Views: 1910

More SPAM
by William Collins
Mon May 09, 2016 5:13 pm
Forum: INTERVIEW QUESTIONS
Topic: pls give me the answers for the following interview quesions
Replies: 18
Views: 61977

No, you've just written that so you can post SPAM.
by William Collins
Thu May 05, 2016 3:27 pm
Forum: COBOL
Topic: Job calling cobol running for long time
Replies: 2
Views: 2894

Is the program eventually to run on a Mainframe? KSAM is not a Mainframe dataset-type. Doing lots of keyed reads will take lots of time. You should test your program with very small files, so that you know the program logic works, before using bigger files. You should be doing keyed reads, not seria...
by William Collins
Thu May 05, 2016 3:21 pm
Forum: JCL
Topic: Please help me explain the JCL code
Replies: 1
Views: 1663

Well, there is only one step. It just copies the dataset on SYSUT1 to the dataset on SYSUT2 (which is the spool). Basically it is "printing" the dataset.