IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

DATEPROC compiler option


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
dham.kamal

New User


Joined: 13 Jul 2007
Posts: 9
Location: India

PostPosted: Mon Jul 16, 2007 12:10 pm
Reply with quote

Hi All

i want to fetch current system date as

ACCEPT WS-CURR-DATE FROM DATE YYYYMMDD

when i checked the manual its says DATEPROC compiler option should be in effect to use this command.

Can any1 tell me how to set this DATEPROC option in my compile JCL ?

thanks
Kamal
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Mon Jul 16, 2007 1:00 pm
Reply with quote

You actually used the manual and did not look up the DATEPROC description and optional parameters? icon_rolleyes.gif
Do you need a link to them?
Back to top
View user's profile Send private message
dham.kamal

New User


Joined: 13 Jul 2007
Posts: 9
Location: India

PostPosted: Mon Jul 16, 2007 2:19 pm
Reply with quote

yes please send me a link for that..
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Mon Jul 16, 2007 2:29 pm
Reply with quote

Judging from your other post, you should click the Manual link at the very top of this page and then bookmark and click the VS COBOL II Language Reference & VS COBOL II Programming Guide.
I think that you will find that DATEPROC compiler option is not needed for the ACCEPT verb.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts How I Found a Bug in a FORTRAN Compiler All Other Mainframe Topics 4
No new posts SCOPE PENDING option -check data DB2 2
No new posts OUTFIL with SAVE option DFSORT/ICETOOL 7
No new posts CICS vs LE: STORAGE option CICS 0
No new posts INSYNC option with same function as I... JCL & VSAM 0
Search our Forums:

Back to Top