Search found 56 matches
- Thu Feb 05, 2009 9:41 pm
- Forum: DFSORT , ICETOOL & Utilities
- Topic: a basic doubt on WHEN=(logexp) and WHEN=ANY
- Replies: 5
- Views: 8309
a basic doubt on WHEN=(logexp) and WHEN=ANY
Hi, How does the combination of WHEN=(logexp) and WHEN=ANY work? Suppose there are these set of records and if I apply these two expressions on this data, how the output will be? Input Data: MERMA 01 2009 NEXTR 02 VERJO 01 2009 VERJ1 02 BARST 01 2009 VERJ2 02 INREC IFTHEN=(WHEN=(7,2,CH,EQ,C'01'),BUI...
- Wed Feb 04, 2009 9:28 pm
- Forum: DFSORT , ICETOOL & Utilities
- Topic: Copy records only from File-2 - SPLICE
- Replies: 9
- Views: 10651
- Wed Feb 04, 2009 8:59 pm
- Forum: COBOL
- Topic: benefits with SYNC
- Replies: 4
- Views: 7639
- Wed Feb 04, 2009 8:54 pm
- Forum: COBOL
- Topic: benefits with SYNC
- Replies: 4
- Views: 7639
benefits with SYNC
Hi,
What is the benefit of declaring a field with SYNC?
Please explain.
Thanks.
What is the benefit of declaring a field with SYNC?
Code: Select all
05 WS-TOP-MAX-TABLE-SIZE PIC S9(04) COMP SYNC
VALUE +1000.
Thanks.
- Wed Feb 04, 2009 8:52 pm
- Forum: DFSORT , ICETOOL & Utilities
- Topic: Copy records only from File-2 - SPLICE
- Replies: 9
- Views: 10651
Thanks
Hi, Frank. Thank you very much for your help.
Just out of curiosity, I would like to ask how the SPLICE solution would be if FILE-1 is copied first to temporary file and FILE-2 next. This question is to just understand the different possibilities !
Thanks again.
Just out of curiosity, I would like to ask how the SPLICE solution would be if FILE-1 is copied first to temporary file and FILE-2 next. This question is to just understand the different possibilities !
Thanks again.
- Wed Feb 04, 2009 5:42 pm
- Forum: DFSORT , ICETOOL & Utilities
- Topic: Copy records only from File-2 - SPLICE
- Replies: 9
- Views: 10651
again !
Frank, let me put both my input files here once again :roll: FILE-1: RECFM=FB, LRECL=80 114D 2007 L03066140000012134800001 114D 2007 L03066140000012134800001 214D 2007 L03066140000011134100001 214D 2007 L03066140000011134100001 314D 2007 L10080140000092110400001 314D 2007 L10080140000092110400001 FI...
- Wed Feb 04, 2009 12:23 am
- Forum: DFSORT , ICETOOL & Utilities
- Topic: Copy records only from File-2 - SPLICE
- Replies: 9
- Views: 10651
- Tue Feb 03, 2009 11:49 pm
- Forum: DFSORT , ICETOOL & Utilities
- Topic: Copy records only from File-2 - SPLICE
- Replies: 9
- Views: 10651
Copy records only from File-2 - SPLICE
Hi, 1st Input File: RECFM=FB, LRECL=80 ----+----1----+----2----+----3----+----4 114D 2007 L03066140000012134800001 114D 2007 L03066140000012134800001 214D 2007 L05644140000012068500001 214D 2007 L05644140000012068500001 314D 2007 L10080140000012110400001 314D 2007 L10080140000012110400001 2nd Input ...
- Tue Feb 03, 2009 11:36 pm
- Forum: DFSORT , ICETOOL & Utilities
- Topic: Copy records for matching key appearing at different places.
- Replies: 4
- Views: 14230
- Tue Feb 03, 2009 10:26 pm
- Forum: DFSORT , ICETOOL & Utilities
- Topic: Copy records for matching key appearing at different places.
- Replies: 4
- Views: 14230
- Tue Feb 03, 2009 5:30 pm
- Forum: DFSORT , ICETOOL & Utilities
- Topic: Copy records for matching key appearing at different places.
- Replies: 4
- Views: 14230
Copy records for matching key appearing at different places.
Hi, I want to compare FILE-1 & FILE-2 and compare matching records from FILE-2 to output file. FILE-1: RECFM=FB, LRECL=80 TBIG100 TBIG200 TBIG980 FILE-2: RECFM=FB, LRECL=88 XMART_C%F#N_TBIG800_FINTE%AM PRIN%CE%TON_FINTEAM_BAR%^*&SA_TBIG200 OVERLAY*&_COMPO%$%ITT_TBIG100 XMART_CAPT#*_09900_TBIG910 JUM...
- Fri Jan 30, 2009 4:54 pm
- Forum: FILE-AID
- Topic: join two records into one record
- Replies: 3
- Views: 8622
Anuj,
Input:
Expected output:
Please help.
Thanks.
Input:
Code: Select all
RECORD1
RECORD2
RECORD11
RECORD22
Code: Select all
RECORD1RECORD2
RECORD11RECORD22
Thanks.
- Fri Jan 30, 2009 4:52 pm
- Forum: FILE-AID
- Topic: Copy two continous records to o/p using File-Aid
- Replies: 0
- Views: 2997
Copy two continous records to o/p using File-Aid
Hi,
How to copy two continous records to o/p using File-Aid.
Input:
Required output:
Thanks.
How to copy two continous records to o/p using File-Aid.
Input:
Code: Select all
001 ABC
001 MARANTH289 + 290 + 300
001 BBC
001 PRADENT300 + 320 + 189
001 ABC
001 CAMERO900 + 190 + 980
Code: Select all
001 ABC
001 MARANTH289 + 290 + 300
001 ABC
001 CAMERO900 + 190 + 980
- Thu Jan 29, 2009 10:25 pm
- Forum: DFSORT , ICETOOL & Utilities
- Topic: ALTSEQ statement
- Replies: 8
- Views: 13482
Sorry :(
Frank, sorry about it.
- Thu Jan 29, 2009 10:19 pm
- Forum: FILE-AID
- Topic: Copy selected records and move to form a single key.
- Replies: 1
- Views: 6597
Copy selected records and move to form a single key.
Hi, My input data: This is just a sample record only. A CD20 30T B CD21 20F C CD22 10E Output: ACD2030T BCD2120F CCD2210E I have tried below code but it did not work. //SYSIN DD * $$DD01 COPY IF=(1,EQ,C'A'), ORIF=(1,EQ,C'B'), ORIF=(1,EQ,C'C'), MOVE=(1,1,1), MOVE=(...