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 

Dateproc-compiler option

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
Phaninder
Beginner


Joined: 06 Jul 2005
Posts: 27
Topics: 11

PostPosted: Wed Oct 19, 2005 10:10 pm    Post subject: Dateproc-compiler option Reply with quote

Hi All ,
In my shop i had tried working on a function which "FUNCTION DATE-OF-INTEGER" , this was not working , i made a search and found that we need to have the DATEPROC compiler option to do this , this link provides the info ,

"http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IGY3LR10/7.1.10?SHELF=&DT=20020920180651"

Can any one suggest me, where to include this , do we need to check for some thing specific while doing so ?
Curently my shop has
"APOST,MAP,X,OFF,DYN,LIB,'F(W)',NOSEQ,OPT,NOFDU,
NOSSR,'SIZE(2048K)','BUF(32760)' "

When i include the option Dateproc , it gives Rc=8 with these errors
1)IGYOS4003-E Invalid option "DATEPROC" was found and discarded.
2)IGYOS4020-W The "NORES" option was discarded due to option conflict resolution. The "DYNAM" option from compiler invocation parameter took precedence.
Quick reference also has no answers for the above codes.

Please help me if any solutions found

Phani
______________
Thanks in advance
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Thu Oct 20, 2005 4:31 am    Post subject: Reply with quote

Phaninder,

What is your version of cobol? If you are using VS COBOL-II then functions are not supported. Functions are first introduced with COBOL 370. Your version of cobol is displayed in the first line of your compiler output.

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Phaninder
Beginner


Joined: 06 Jul 2005
Posts: 27
Topics: 11

PostPosted: Thu Oct 20, 2005 4:58 am    Post subject: Reply with quote

Hi Kolusu,
This is the version we use "VS COBOL II Release 4.0" so as you said no chance to use functions ?? we need to call a program..to do so ..Am i right ?


Thanks a lot
------------
Phani
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Thu Oct 20, 2005 7:05 am    Post subject: Reply with quote

Quote:

This is the version we use "VS COBOL II Release 4.0" so as you said no chance to use functions ?? we need to call a program..to do so ..Am i right ?


Phaninder,

Tell us your requirement and may be we can suggest an alternative.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group