Hi,

but when i look at c, c++ on the mainframe I know next to nothing - c#
is completely different. That is why i got interested in this topic.

Well, C# ist more like Java as C or C++....



although some do work and others abend. and the abends happen when
running both batch and under OMVS. i have not yet looked up what the
segmentation violation abend means.

segmentation violation is a S0C4.



   int       main()
    {
    char dsname[44], volume[6];
     memset(&dsname,' ',44);
,Command ===>,
         memcpy(&dsname, "XCICS.EILEEN.PDSE", 17);
         memset(&volume,' ', 6);
         memcpy(&volume, "CICH92", 6);
         memset(&work,' ',140);
    call_obtain(dsname,volume,work);

Try

call_obtain("XCICS.EILEEN.PDSE", "CICH92");

and remove the stuff above...




Bye,
Michael

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to