Search found 24 matches

by perumalnk
Mon Aug 16, 2010 2:15 pm
Forum: COBOL
Topic: COBOL MOVE CORRESPONDING DOUBT
Replies: 15
Views: 28367

Hi Dick Brenholtz, Thanks for clarifying the reason behind the S0C7 when the variable is declared as PD. I was wondering the reason behind it. Yeah, as MOVE CORRESPONDING was used already at that place, we did not get the drive to make an explicit check for low values. Thanks again. Thanks, Perumal....
by perumalnk
Fri Aug 13, 2010 3:51 pm
Forum: COBOL
Topic: COBOL MOVE CORRESPONDING DOUBT
Replies: 15
Views: 28367

Hi Dick Brenholtz, Those are new fields added in a segment and they might be hoding low values for the existing entries in the DB. I understand that is the reason for S0C7. I just wonder why is the data exception abend is not occuring when I use 9(8)? I expect the S0C7 abend when use the same data w...
by perumalnk
Fri Aug 13, 2010 2:43 pm
Forum: COBOL
Topic: COBOL MOVE CORRESPONDING DOUBT
Replies: 15
Views: 28367

Hi All, Thanks for the reply. I did try that out. It got moved , but initially I thought it will not get moved as the declarations differ. So just to confirm my understanding, I asked this doubt. Sorry that it bothered much. The WS-FIELD-2 of input layout comes from an IMS DB.Now when I changed the ...
by perumalnk
Thu Aug 12, 2010 8:26 am
Forum: COBOL
Topic: COBOL MOVE CORRESPONDING DOUBT
Replies: 15
Views: 28367

COBOL MOVE CORRESPONDING DOUBT

Hi, Wishes ! I have a tiny doubt in COBOL "MOVE CORRESPONDING" working. Please find below my scenario, Layout#1: 01 WS-LAYOUT-1 05 WS-MOVE-1 10 WS-FIELD-1 PIC X(02). 10 WS-FIELD-2 PIC S9(09) COMP-3. Layout#2: 01 WS-LAYOUT-2 05 WS-MOVE-2 10 WS-FIELD-1 PIC X(02). 10 WS-FIELD-2 PIC 9(07). With this lay...
by perumalnk
Fri Mar 05, 2010 10:26 am
Forum: TSO, CLIST & REXX
Topic: Splitting File By Grouping Using REXX
Replies: 5
Views: 9186

Hi MrSpock, Sorry about the late reply. I have got the output, but the CPU consumption is high as I process a large file. Though REXX is not for large volume processing, I am trying to avoid code changes by using REXX. Any how, now I am trying with ISREDIT macro and I hope this will not consume more...
by perumalnk
Mon Mar 01, 2010 10:43 am
Forum: TSO, CLIST & REXX
Topic: Splitting File By Grouping Using REXX
Replies: 5
Views: 9186

Hi MrSpock, I have around 24 CARRIER NAME: items which needs to be grouped in the master file. Now when you say .... "start the READ/WRITE cycle until the next occurence of CARRIER NAME:. " , Could you please let me guide in identifying the next occurence of CARRIER NAME: item? Thanks, Perumal.N.K.
by perumalnk
Fri Feb 26, 2010 3:25 pm
Forum: TSO, CLIST & REXX
Topic: Splitting File By Grouping Using REXX
Replies: 5
Views: 9186

Hi MrSpock, Thanks for the reply ! I worked out in the logic of filtering out every group when the next group encounters for the very first time. But I felt that as quite vague. The logic you have mentioned above seems to be a straight forward one. Let me try this out. The file I handle is a larger ...
by perumalnk
Fri Feb 26, 2010 1:36 pm
Forum: TSO, CLIST & REXX
Topic: Splitting File By Grouping Using REXX
Replies: 5
Views: 9186

Splitting File By Grouping Using REXX

Hi All, I have a master file as shown below, Master File Page 1: **************************************************** CARRIER NAME: TELECOM*USA ENTITY CODE: 001A JOURNAL PERIOD: 201001 OSS BILLED REV ADJUSTED REV ENUE SUBJECT TO TAX SUBJECT TO TAX $.00 $.00 $.00 $951.50 $951.50 $.00 ****************...
by perumalnk
Wed Jul 22, 2009 11:14 am
Forum: COBOL
Topic: COBOL Decompiler
Replies: 1
Views: 3943

COBOL Decompiler

Hi,

Is there any COBOL decompiler (generating source COBOL code from LOAD) tools available?
If not inbuilt, is there any way to develop such one? Can any one please throw some light on this?

Thanks,
Perumal.N.K.
by perumalnk
Wed Apr 01, 2009 2:57 pm
Forum: JCL
Topic: Replacing certain position values in a file using JCL
Replies: 2
Views: 10446

Thanks a lot Frank !

Thanks,
Perumal.N.K.
by perumalnk
Mon Mar 30, 2009 6:48 pm
Forum: JCL
Topic: Replacing certain position values in a file using JCL
Replies: 2
Views: 10446

Replacing certain position values in a file using JCL

Hi,

I would like to replace certain position with a particular value for all the records in a file. For example, I need to replace the value 'XX' which is present in postion 1:2, with the value '20' for all records in my input file. How could I do that using a JCL?

Thanks,
Perumal.N.K.
by perumalnk
Thu Mar 05, 2009 1:10 pm
Forum: OTHER SUBJECTS
Topic: Info About SMED Step in CTM
Replies: 0
Views: 2978

Info About SMED Step in CTM

Hi,

I Would like to get some information about SMED step which is used in all batch builder CTM jobs.

Thanks,
Perumal.N.K.
by perumalnk
Tue Feb 17, 2009 4:52 pm
Forum: COBOL
Topic: Pure COBOL Module Compilation
Replies: 6
Views: 9586

Thanks Dick / Anuj !

Regards,
Perumal.N.K.
by perumalnk
Thu Feb 12, 2009 1:32 pm
Forum: COBOL
Topic: Pure COBOL Module Compilation
Replies: 6
Views: 9586

Hi,
The COBOL I meant has no SQLs in it by any way. I was just thinking irrationally :wink: how a DB2 pre-compiler will respond when we ask it to compile such a module.

Thanks,
Perumal.N.K.
by perumalnk
Wed Feb 11, 2009 7:15 pm
Forum: COBOL
Topic: Pure COBOL Module Compilation
Replies: 6
Views: 9586

Pure COBOL Module Compilation

Hi,

When I compile a pure COBOL module which does not do any transaction with Database, How DB2 pre-compiler and SQL Compiler respond to that? And does Package make any significance while the execution of that COBOL module. I do see the empty BATDBRM after the compilation.

Thanks,
Perumal.N.K.