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 7 matches
MVSFORUMS.com Forum Index
Author Message
  Topic: XML PARSE issues in COBOL - Runtime error
lakshmiraya

Replies: 1
Views: 2223

PostForum: Application Programming   Posted: Tue Oct 09, 2007 12:05 am   Subject: XML PARSE issues in COBOL - Runtime error
Hi,
I coded a program that uses XML PARSE to convert xml format to flat file.

This program works fine if the whole xml file is in one record. Now that the data in input file is more and it can't ...
  Topic: Date to Integer
lakshmiraya

Replies: 8
Views: 4121

PostForum: Application Programming   Posted: Sun Jul 22, 2007 11:21 pm   Subject: Date to Integer
Here is the code:

WORKING-STORAGE SECTION.
*
01 WS-MONTH-END-DD PIC X(24) VALUE
'312831303130313130313031'.
01 WS-TBL-MONTH-END REDEFINES WS-MONTH-END-DD.
05 TBL-MONTH-END-DAY PI ...
  Topic: Date to Integer
lakshmiraya

Replies: 8
Views: 4121

PostForum: Application Programming   Posted: Sun Jul 22, 2007 11:15 pm   Subject: Date to Integer
Here is the code:

WORKING-STORAGE SECTION.
*
01 WS-MONTH-END-DD PIC X(24& ...
  Topic: Date to Integer
lakshmiraya

Replies: 8
Views: 4121

PostForum: Application Programming   Posted: Fri Jul 20, 2007 5:09 am   Subject: Date to Integer
I GOT IT!

THANKS.
  Topic: Date to Integer
lakshmiraya

Replies: 8
Views: 4121

PostForum: Application Programming   Posted: Fri Jul 20, 2007 4:47 am   Subject: Date to Integer
Hi,
There two dates
CURRENT-DATE PIC 9(8) and END-OF-MONTH-DATE PIC 9(8) .

Both are in the format 'YYYYMMDD'.

I need to subtract CURRENT-DATE from END-OF-MONTH-DATE.

Ho ...
  Topic: Finding 'end of month date' in COBOL
lakshmiraya

Replies: 2
Views: 1565

PostForum: Application Programming   Posted: Thu Jul 19, 2007 7:18 am   Subject: Finding 'end of month date' in COBOL
Thanks a lot for the reply... Smile
  Topic: Finding 'end of month date' in COBOL
lakshmiraya

Replies: 2
Views: 1565

PostForum: Application Programming   Posted: Thu Jul 19, 2007 6:28 am   Subject: Finding 'end of month date' in COBOL
Hi,
I have a requirement where I need to calculate the last date of the current month.

Any ideas how to do this? Please help...


Thanks,
Lakshmi.
 
Page 1 of 1
All times are GMT - 5 Hours
Jump to:  


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group