Search found 21 matches

by chanakya
Fri Oct 07, 2011 6:50 pm
Forum: DFSORT , ICETOOL & Utilities
Topic: How to pass system date stored in a PDS member to symbolic ?
Replies: 4
Views: 9192

Hi Frank,

Thank you very much!! It is working as expected.

Could you please help me to understand below code's working?
Frank Yaeger wrote:Chanakya,

Code: Select all

  INREC BUILD=(C'MYDATE,''',1,8,C'''',80:X)

Can you explain how it is working?
Especially (,''',) and (C'''',80:X)
by chanakya
Wed Oct 05, 2011 7:34 pm
Forum: DFSORT , ICETOOL & Utilities
Topic: How to pass system date stored in a PDS member to symbolic ?
Replies: 4
Views: 9192

How to pass system date stored in a PDS member to symbolic ?

I have to read the date from the ps file or any member of pds file which has the date in the following format yyyymmdd. how can I use this date in place of current date as symbolic in the jcl. OUTFIL FNAMES=OUT,REMOVECC,NODETAIL, INCLUDE=(INC1,EQ,C'B',AND,(BLD4,BI,EQ,BLD3,BI)), BUILD=(RFFLD), TRAILE...
by chanakya
Fri Sep 30, 2011 7:39 pm
Forum: JCL
Topic: Need your help ....compare 2 files using ICETOOL and SPLICE
Replies: 33
Views: 41385

Ok, this should get you started: //S1 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //IN DD DSN=... input file1 (FB/n) //T1 DD DSN=&&T1,UNIT=SYSDA,SPACE=(TRK,(1,1)),DISP=(,PASS) //SYM DD DSN=&&S1,UNIT=SYSDA,SPACE=(TRK,(1,1)),DISP=(,P...
by chanakya
Thu Sep 15, 2011 5:51 pm
Forum: JCL
Topic: Need your help ....compare 2 files using ICETOOL and SPLICE
Replies: 33
Views: 41385

Hi Frank, I have one question regarding COUNT. I have two files having same data as follows. File1 – Day1 File2 – Day2 I compared these 2 files and created below files Insert file .....data present in file2 and not in file1 Delete file .....data present in file1 and not in file2 Update file .....dat...
by chanakya
Thu Sep 15, 2011 5:49 pm
Forum: JCL
Topic: Need your help ....compare 2 files using ICETOOL and SPLICE
Replies: 33
Views: 41385

Hi Frank,

Dont say sorry. You helped me a lot!! Your guidance worked for me. I do have one last question on this forum.
by chanakya
Wed Sep 07, 2011 4:35 pm
Forum: JCL
Topic: Need your help ....compare 2 files using ICETOOL and SPLICE
Replies: 33
Views: 41385

segment1 - key length-12 and data length -192 //S1 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //IN DD DSN=INPUT1,DISP=SHR //T1 DD DSN=&&T1,UNIT=SYSDA,SPACE=(TRK,(1,1)),DISP=(,PASS) //SYM DD DSN=&&S1,UNIT=SYSDA,SPACE=(TRK,(1,1)),DISP=(,PASS) //TOOLIN DD * COPY FROM(IN) TO(T1) USING(C...
by chanakya
Wed Sep 07, 2011 4:25 pm
Forum: JCL
Topic: Need your help ....compare 2 files using ICETOOL and SPLICE
Replies: 33
Views: 41385

Then it is quite difficult to create symbols for all the segments having different record length. Actually I have created symbols as shown in above post. But now I am facing difficulty because each segment having different key length and data length. For example segment1 - key length-12 and data len...
by chanakya
Mon Sep 05, 2011 10:22 am
Forum: JCL
Topic: Need your help ....compare 2 files using ICETOOL and SPLICE
Replies: 33
Views: 41385

It must show updated records as JD100-FILE 6460698 006 ª006ÿÿÿÿCTM-YWQ CTM 6460698 0002123450010010002 JD100-FILE 6460702 004 ª004ÿÿÿÿCTM-NEP CTM 6460702 0005662320010010002 But it is showing an error saying that ICE221A 1 INVALID FIELD OR CONSTANT IN OUT3 IFTHEN 0 CONDITION Could you please tell me...
by chanakya
Mon Sep 05, 2011 10:13 am
Forum: JCL
Topic: Need your help ....compare 2 files using ICETOOL and SPLICE
Replies: 33
Views: 41385

Frank, I am getting an error while identifying updated records. The process is working properly while identifying newly inserted records and existing deleted data. //S1 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //IN DD DSN=FLE2.IND.TEST.KX090SS.INPUT8,DISP=SHR //T1 DD DSN=&&T1,UNIT...
by chanakya
Fri Sep 02, 2011 3:00 pm
Forum: JCL
Topic: Need your help ....compare 2 files using ICETOOL and SPLICE
Replies: 33
Views: 41385

Thanks a lot!! All symbols are working properly. But I have one question about DATE As per your direction, I tried to create symbol for below date //SYMNAMES DD * CRDATE,S'&LMON./&LDAY./&LYR4' But I didn't get success. So I created output file by using date function as shown below OUTFIL FNAMES=OUT5...
by chanakya
Mon Aug 29, 2011 2:52 pm
Forum: JCL
Topic: Need your help ....compare 2 files using ICETOOL and SPLICE
Replies: 33
Views: 41385

Thanks!! I checked for all segement and its working propely. Thank you very much!! But I have one last question while buliding a new file. BUILD=(1:223,11,16:C'INS',19:241,12,31:253,192) which symbol can we use instead of '223'? for your referal, The existing code was as below JOINKEYS F1=IN1,FIELDS...
by chanakya
Fri Aug 26, 2011 12:57 pm
Forum: JCL
Topic: Need your help ....compare 2 files using ICETOOL and SPLICE
Replies: 33
Views: 41385

You could convert the first record of the input file to VB, determine it's FB LRECL as RDW length-4 and then generate symbols for the positions you need based on that LRECL, and use those symbols in the JOINKEYS step. If you give me little bit idea or any hint, it would be greatly appericiated. I w...
by chanakya
Thu Aug 25, 2011 8:30 pm
Forum: JCL
Topic: Need your help ....compare 2 files using ICETOOL and SPLICE
Replies: 33
Views: 41385

Examples for segments: 1) kx010 – LRECL – 222 FB Input File format header-info key actual data KX010 6460698 6460698 22110SDF positions: Header-info 1-18 KX010 key 19-30 6460698 actual data 31-222 6460698 22110SDF 2) kx020 – 627 Input File format header-info key actual data KX020 6234698 6460698 221...
by chanakya
Thu Aug 25, 2011 7:54 pm
Forum: JCL
Topic: Need your help ....compare 2 files using ICETOOL and SPLICE
Replies: 33
Views: 41385

gfhj
by chanakya
Wed Aug 24, 2011 4:00 pm
Forum: JCL
Topic: Need your help ....compare 2 files using ICETOOL and SPLICE
Replies: 33
Views: 41385

Will it support if Both the input files have close to 1 million records each ?