Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 9405

COBOL Programming :: RE: Cobol EZASOKET call to SETSOCKOPT fails

$
0
0
Author: Andi1982
Posted: Fri Oct 07, 2016 11:17 am (GMT 5.5)

I also tried with OPTVAL PIC9(8) or course. I think i tried nearly all declarations of OPTVAL.

I did this delaration above because it was written that
Quote:
This option requires a TIMEVAL structure, which is defined in SYS1.MACLIB( BPXYRLIM) macro. The TIMEVAL structure contains the number of seconds and microseconds specified ...


This structure I found here http://www.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.bpxb100/yrlim64.htm

Code:
TIMEVAL              DSECT ,      Timeval structure                             
TMVL_SEC             DS    FD     Seconds                                       
                     DS    F      Padding                                       
TMVL_USEC            DS    F      Microseconds                                 
TIMEVAL#LENGTH       EQU *-TIMEVAL Length of this DSECT

_________________
Working on a IBM Z9BC
z/VSE 4.1.0
CICS/VSE 2.3.0
z/VM 5.3


Viewing all articles
Browse latest Browse all 9405

Trending Articles