MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 4 matches
MVSFORUMS.com Forum Index
Author Message
  Topic: 2 recs in different files to be merged to single record.
shankar.v

Replies: 6
Views: 3333

PostForum: 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

PostForum: 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

PostForum: 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

PostForum: 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 ...
 
Page 1 of 1
All times are GMT - 5 Hours
Jump to:  


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group