| Author |
Message |
Topic: 2 recs in different files to be merged to single record. |
shankar.v
Replies: 6
Views: 3333
|
Forum: Utilities Posted: Thu Sep 20, 2007 7:35 am Subject: 2 recs in different files to be merged to single record. |
Please check with the following code for your requirement.
The below code is for files with record length 4
// EXEC PGM=ICETOOL
//DFSMSG DD SYSOUT=* ... |
Topic: Remove Duplicate Headers and Trailers |
shankar.v
Replies: 4
Views: 4295
|
Forum: Utilities Posted: Mon Sep 17, 2007 10:36 am Subject: Remove Duplicate Headers and Trailers |
Dinesh Kumar,
Please check with the following code for your requirement.
// EXEC PGM=ICETOOL
//DFSMSG DD SYSOUT=*
//TOOLMSG DD SYSOUT=*
//IN DD DSN=INFILE,DISP=SHR
//T DD DSN=&&T,DI ... |
Topic: Date check in cobol |
shankar.v
Replies: 14
Views: 9867
|
Forum: Application Programming Posted: Thu Sep 13, 2007 11:15 am Subject: Date check in cobol |
kolusu,
That code will works fine for input numeric values of YYYY,MM,DD with
format YYYY-MM-DD. If you want to check for alphabets, special characters, spaces... for YYYY,MM,DD, i will modify the ... |
Topic: Date check in cobol |
shankar.v
Replies: 14
Views: 9867
|
Forum: Application Programming Posted: Thu Sep 13, 2007 10:51 am Subject: Date check in cobol |
vivek1983,
The above posted cobol code was wrong with the leap year logic. Please check with the following cobol code which is the updated one.
Following is the one i got from wikipedia to check ... |
| |