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 

INTR ABEND 4038

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
hdagar
Beginner


Joined: 18 May 2004
Posts: 5
Topics: 4

PostPosted: Thu Jul 29, 2004 5:11 am    Post subject: INTR ABEND 4038 Reply with quote

I need help on the CICS abend INTR 4038.

I am getting this abend while executing an ACCEPT statement in a Cobol module.ACCEPT is accepting the system date.
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 Jul 29, 2004 5:46 am    Post subject: Reply with quote

hdagar,

You cannot use COBOL statements that require the use of operating system Services. Instead, use CICS commands. You can request the current date and time of day with ASKTIME command.

Check the following links for

ASKTIME

FORMAT TIME


Some of the other COBOL statements you CANNOT code in CICS are :

CURRENT-DATE, DATE, DAY , DISPLAY, EXHIBIT, STOPRUN, TRACE

Any I/0 statements ( OPEN ,CLOSE, READ, WRITE, REWRITE, DELETE, START)

Check this link which explains in detail about the Restrictions.

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DFHP3A04/1.4.1.1?SHELF=&DT=20050112153951&CASE=

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu


Last edited by kolusu on Fri Jan 20, 2006 5:24 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Mike Chantrey
Intermediate


Joined: 10 Sep 2003
Posts: 234
Topics: 1
Location: Wansford

PostPosted: Thu Jul 29, 2004 9:03 am    Post subject: Reply with quote

There are additional restrictions as well if you are using the old OS/VS COBOL compiler.
In that case, you must not use such statements as INSPECT, STRING, UNSTRING and various others. This is fully documented in Appendix B (OS/VS COBOL) of the CICS Application Programming Guide (at CICS/TS 1.3).
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware 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