Search found 650 matches

by NicC
Fri Dec 26, 2014 6:26 pm
Forum: JCL
Topic: JCL for searching string after nth occurence of delimiter
Replies: 1
Views: 3193

JCL cannot do this - you need a program/utility program. Programs are not JCL, nor are program control cards. The JCL used to tell the OS what program you want to use will depend on the requirements of the program.
by NicC
Fri Dec 26, 2014 3:16 pm
Forum: JCL
Topic: count the records in jcl
Replies: 2
Views: 4548

Code: Select all

//JOBNAME JOB jobcard details
//STEP EXECPGM=yourpgm
//SYSPRINT DD SYOUT=*
//FILEIN DD DSN=your.input.file,DISP=SHR
//OUTPUT DD DSN=your.output.file,DISP=(,CATLG,CATLG),
//       SPACE=(TRK,1),UNIT=yourunit
//
You may need to replace SYSPRINT by SYSOUT
by NicC
Fri Dec 26, 2014 3:10 pm
Forum: JCL
Topic: Need a JCL code
Replies: 4
Views: 6556

Totally unclear as to what you want to do. However, Job Control Language cannot do it - it only tells the OS which programs you want to run and the resources required by each. So, decide which program you want to run and post your queery in the approprite section of the forum.
by NicC
Sat Nov 08, 2014 2:15 pm
Forum: ENDEVOR, COOLGEN , PANVALET and CA-7
Topic: I Want to learn Endevor tool.
Replies: 1
Views: 6017

If you have Endevor try F1. Remember that any documentation out there may be under copyright and probably cannot be legally shared. If you workplace requires you to use Endevor then they should provide you with the training or materials required.
by NicC
Sat Nov 08, 2014 2:11 pm
Forum: DB2 SQL - DB2 PROGRAMMING
Topic: Error Building Dynamic SQL DB2 Statement
Replies: 1
Views: 3593

You need to post the full query and not just an extract and the error messages - not just your interpretation of them.
by NicC
Sat Nov 08, 2014 1:58 pm
Forum: JCL
Topic: Sort help required in JCL
Replies: 2
Views: 3948

And it is even better if you post sort questions in the sort part of the forum, not the JCL part. That is what it is there for.
by NicC
Sat Nov 08, 2014 1:56 pm
Forum: JCL
Topic: need to check a GDG generation is present in catalog or not
Replies: 7
Views: 20233

Why are you tagging onto a topic that is over 7 years old? You shuld know that when you have a new query you should start a new topic. To create a new version you need to specify the datasetname, generation nmber and version number in full. If, on the other hand, you mean create multiple generations...
by NicC
Wed Oct 22, 2014 5:38 pm
Forum: ABEND CODES / ERROR CODES
Topic: Help to perform delete for COMP-3
Replies: 3
Views: 8138

Is this a sort question, a cobol question, a pl/1 question or what? It isn't a question on Abends or error codes.

By 'low values' do you mean x'00'?
by NicC
Sat Oct 11, 2014 12:54 pm
Forum: DB2 INTERVIEW QUESTIONS
Topic: db2 timestamp error
Replies: 1
Views: 4594

And your answer was? And your research shows?
by NicC
Sat Oct 11, 2014 12:48 pm
Forum: JCL
Topic: How to write sort card?
Replies: 8
Views: 12428

If you cast to CHAR it will produce '3' instead of 003 - standard rules across most languages. You need to cast to a numeric field type although I do ot know if any will retain leading zeros. By the way, this is either a sort query or a DB2 query so why post in the JCL section of the forum when ther...
by NicC
Wed Sep 24, 2014 7:14 pm
Forum: Suggestions & Feedback
Topic: Remove/move voting stuff from top of pages
Replies: 0
Views: 4467

Remove/move voting stuff from top of pages

Any chance of moving the stuff at the top each page so that one does not have to scroll to login or see the index?
by NicC
Wed Sep 24, 2014 3:44 pm
Forum: JCL INTERVIEW QUESTIONS
Topic: quaries
Replies: 2
Views: 9728

1 - think about it. Whatever 'restart' process is used you still have to resubmit the job.
2 - I do not understand this. I assume 'ant' is just a typo for "can't" but 'u/I'?
by NicC
Fri Sep 19, 2014 7:43 pm
Forum: JCL
Topic: JCL - SORT Joinkeys on 2 Variable length files
Replies: 2
Views: 4567

I cannot answer that because this is the JCL part of the forum not the SORT part. (See forum section below JCL - and read descriptions of both of them).
by NicC
Mon Sep 15, 2014 8:02 pm
Forum: DFSORT , ICETOOL & Utilities
Topic: Not able to do a Numeric check using sort.
Replies: 5
Views: 7342

Hi Dick - just to confuse us, on this forum DFSort/ICETool also handle the Syncsort equivalents. No wonder some people get confused!
by NicC
Mon Sep 15, 2014 3:56 pm
Forum: JOB DISCUSSION
Topic: Contracting Jobs
Replies: 2
Views: 5875

Depends where you are. Loads of COBOL jobs in the UK at the moment and I am contracting in Ireland using CLOAS so if you have good CLOAS knowledge (and I have next to none!) then we haqve work for years to come - well, months anyway.