Search found 17 matches

by ickgeek23
Thu Mar 22, 2012 2:17 pm
Forum: JCL
Topic: Can we use any utility to resolve this apart from Cobol pgm
Replies: 2
Views: 4358

Can we use any utility to resolve this apart from Cobol pgm

Hi All, I have 3 input files. These files will be having the student and the courses details Input file1:- Student Course1 Course2 Course3 Course4 S1 C1 S1 C2 C3 S1 C4 S2 C1 Input file2:- Student Course1 Course2 Course3 Course4 S1 C3 S1 C4 S2 C3 C2 Input file3:- Student Course1 Course2 Course3 Cours...
by ickgeek23
Mon Mar 12, 2012 2:01 pm
Forum: EASYTRIEVE
Topic: system completion code 837 REASON=00000008 in easytrive prgm
Replies: 1
Views: 4213

system completion code 837 REASON=00000008 in easytrive prgm

I have two input files, I have to read the input file 2 record and check whether the key matches, If matches i need to write in the output file1 input file 1:- key strts from I1-KEY-1 1 00007 A Input file2:- key strts from I2-KEY-2 4 00007 A Output file1:- Program:- LIST ON * FILE INFILE1 VB(0 0) IN...
by ickgeek23
Mon Mar 12, 2012 12:51 pm
Forum: JCL
Topic: system completion code 837 REASON=00000008 in easytrive prgm
Replies: 1
Views: 4382

system completion code 837 REASON=00000008 in easytrive prgm

I have two input files, I have to read the input file 2 record and check whether the key matches, If matches i need to write in the output file1 input file 1:- key strts from I1-KEY-1 1 00007 A Input file2:- key strts from I2-KEY-2 4 00007 A Output file1:- Program:- LIST ON * FILE INFILE1 VB(0 0) IN...
by ickgeek23
Fri Feb 17, 2012 6:41 pm
Forum: JCL
Topic: Regarding ALTSEQ CODE
Replies: 2
Views: 5689

Regarding ALTSEQ CODE

Hi All,

SORT FIELDS=(10,2,CH,A)
ALTSEQ CODE=(ISAB)

Can any one tell me what is ALTSEQ and how it is used



THanks in Advance
:)
by ickgeek23
Wed Oct 05, 2011 11:53 am
Forum: COBOL
Topic: Add 7 days to the date filed
Replies: 6
Views: 10349

yes, cobol program is reading the file, and doing some logic with the date, now i have to just add 7 days to this date ...
by ickgeek23
Wed Oct 05, 2011 11:37 am
Forum: COBOL
Topic: Add 7 days to the date filed
Replies: 6
Views: 10349

there is already a cobol program , but i need to include this condition (adding 7 days to the date field) in the cobol program..
by ickgeek23
Wed Oct 05, 2011 11:00 am
Forum: COBOL
Topic: Add 7 days to the date filed
Replies: 6
Views: 10349

Add 7 days to the date filed

Hi All, In one of my input file , i am receiving one date field as PIC X(8) format (eg: 20110101), now i have to add 7 days to this date filed and get the resultant date in PIC X(8) (in the above scenario it should be 20110108)same format. i have to consider leap year case also..... can any one sugg...
by ickgeek23
Wed Sep 21, 2011 2:50 pm
Forum: DFSORT , ICETOOL & Utilities
Topic: Finding smallest value for a field in a file
Replies: 9
Views: 14109

After executing the first step with OPTION COPY OUTFIL REMOVECC,NODETAIL, BUILD=(3000X), TRAILER1=('TARG,''',MIN=(22,8,ZD,EDIT=(TTTT-TT-TT)),'''') output file has the minimum date as TARG,'2002-01-26' when i use the sort in the next step OPTION COPY INCLUDE COND=(61,10,CH,GE,TARG) Then i am getting ...
by ickgeek23
Wed Sep 21, 2011 2:45 pm
Forum: DFSORT , ICETOOL & Utilities
Topic: Finding smallest value for a field in a file
Replies: 9
Views: 14109

I am using Syncsort
by ickgeek23
Wed Sep 21, 2011 1:01 pm
Forum: DFSORT , ICETOOL & Utilities
Topic: Finding smallest value for a field in a file
Replies: 9
Views: 14109

Thanks Frank for the quick response: When i ran the job it is giving an error as SYSIN : OPTION COPY INCLUDE COND=(61,8,CH,GE,TARG) * WER268A INCLUDE STATEMENT : SYNTAX ERROR WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000 WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE date filed in the inputfile2 is PIC ...
by ickgeek23
Tue Sep 20, 2011 6:49 pm
Forum: DFSORT , ICETOOL & Utilities
Topic: Finding smallest value for a field in a file
Replies: 9
Views: 14109

Thanks Frank for the reply My inputfile2 format has changed like Input file2: student-----------------------date student1--------------------2011-01-01 student2--------------------2004-01-01 student3--------------------2009-11-09 student4--------------------2010-01-01 student5--------------------200...
by ickgeek23
Fri Sep 16, 2011 7:13 pm
Forum: DFSORT , ICETOOL & Utilities
Topic: Finding smallest value for a field in a file
Replies: 9
Views: 14109

Finding smallest value for a field in a file

Hi, I have two input files Input file1 like: course name-------start date----- end date course1-------------20110101----20111212 course2-------------20110501----20110512 course3-------------20091109----20111212 course4-------------20110508----20110815 Input file2: student-----------------------date ...
by ickgeek23
Fri Sep 16, 2011 12:44 am
Forum: JCL
Topic: split each records in a file with out writing cobol program
Replies: 6
Views: 9139

Can you please help me how to do this with parse
by ickgeek23
Thu Sep 15, 2011 7:09 pm
Forum: EASYTRIEVE
Topic: Split the record in a file
Replies: 1
Views: 5715

Split the record in a file

Hi to all, I have one input file like name1----------------------course1,course2,course3 name2----------------------course2,course3 name3---------------------- output file should be like name1----------------------course1 name1----------------------course2 name1----------------------course3 name2---...
by ickgeek23
Thu Sep 15, 2011 3:52 pm
Forum: JCL
Topic: split each records in a file with out writing cobol program
Replies: 6
Views: 9139

Can anyone help me on this pls ......