Search found 732 matches

by William Collins
Sat Jul 07, 2012 5:23 am
Forum: DFSORT , ICETOOL & Utilities
Topic: SORTCARD help
Replies: 6
Views: 9960

Use INCLUDE/OMIT for the 40s
Use INREC IFTHEN=(WHEN=INIT to BUILD the 15 bytes, followed by another IFTHEN=(WHEN=INIT for the FINDREP (as you only want those 15, don't bother with the "pos" bits I mentioned before).
SORT on 1,15
SUM FIELDS=NONE
by William Collins
Sat Jul 07, 2012 12:29 am
Forum: DFSORT , ICETOOL & Utilities
Topic: SORTCARD help
Replies: 6
Views: 9960

Use IFTHEN to identify those you want to change. Use FINDREP on the IFTHEN. Use STARTPOS/ENDPOS on the FINDREP.

Else explain better please.
by William Collins
Thu Jul 05, 2012 5:14 am
Forum: COBOL
Topic: batch COBOL calling batch COBOL DB2 pgm
Replies: 5
Views: 7564

Can you show your JCL?

Please also show the messages from the job, so we can see the full details for the S806.
by William Collins
Thu Jul 05, 2012 5:12 am
Forum: DFSORT , ICETOOL & Utilities
Topic: Conditional Count using IFTRAIL
Replies: 17
Views: 22499

When you say "merge" do you mean that as MERGE in its meaning in SORT utilities? If so, what would you use as the key? If not, can you please clarify? Which SORT product are you using? WHEN=GROUP and PUSH an ID would "count" the 100000 records. KEYBEGIN in DFSORT, RESTART a sequence number and BEGIN...
by William Collins
Sun Jun 10, 2012 2:44 am
Forum: JCL
Topic: JCL- PDS members
Replies: 11
Views: 12891

Can you post the messages and sysout from the step, please?
by William Collins
Fri Jun 08, 2012 1:33 pm
Forum: JCL
Topic: Find and Replace in jcl
Replies: 2
Views: 4767

Do you mean with your Sort product?

Have a look at FINDREP in your documentation.

Also, if you need further assistance, post some sample input and expected output, please.
by William Collins
Wed May 30, 2012 2:21 am
Forum: EASYTRIEVE
Topic: Copying a VB record when certain conditions are met
Replies: 23
Views: 39383

Your records in the JCL you show are 1039. Your records in your program are 1035. Difference is four bytes. For the FILE you should be able to code VB ( 1039 0 ) and Easytrieve will handle (in co-operation with SMS, or the JCL) obtaining the blocksize at run-time. I see you now changed the records o...
by William Collins
Tue May 29, 2012 6:21 pm
Forum: EASYTRIEVE
Topic: Copying a VB record when certain conditions are met
Replies: 23
Views: 39383

Look, this is not FILEAID. It is Easytrieve Plus. Did you look at my previous reply?
by William Collins
Mon May 28, 2012 11:30 pm
Forum: EASYTRIEVE
Topic: FILE-STATUS=160( when read in EZ+)
Replies: 2
Views: 5951

Look at the meaning of X'A0' for VSAM.
by William Collins
Mon May 28, 2012 11:25 pm
Forum: EASYTRIEVE
Topic: Copying a VB record when certain conditions are met
Replies: 23
Views: 39383

Did you look at PUT xx FROM?

Or MOVE filename?

Or RECORD-LENGTH ?
by William Collins
Thu May 24, 2012 1:30 pm
Forum: DFSORT , ICETOOL & Utilities
Topic: Sort to copy data from first column from a file and paste it
Replies: 4
Views: 7187

I wouldn't really call it copy/paste, but look at OVERLAY in the manual, or better explain what it is that you want.
by William Collins
Thu May 24, 2012 12:36 pm
Forum: COBOL
Topic: enterpise cobol & c
Replies: 6
Views: 9718

Asif321, like umer001 before him, is just spamming.