I have been struggling with this issue for the past 1 week .I am using J2C Connector tools to generate beans that lets us to communicate cobol programs.
In cobol code we have declared LL as like this.
05 LL PIC S9(4) COMP.
05 ZZ PIC XX.
Using J2C Connector tools for this cobol programs(input and output records) total 5 fils are generated. Those are
Command Bean: RetrieveDetails.java.
Here on i am setting all screen values and IMS related stuff in inputrecord
and executing with this input on commandbean object,then we will get the output record contains all the output data.
Here the problem is when i am setting the LL value like this and executing i am getting the follwing error.
InputRecord inputRocord = InputRecord();
RetrieveDetails commandBean= RetrieveDetails();
javax.resource.ResourceException: ICO0024E: com.ibm.connector2.ims.ico.IMSTCPIPManagedConnection@5039056a.buildInputMsg(Record)
error. Invalid segment length (LL) of 19200 in input object.
And one more quetion is in set() method which type of parameter we can set?
what i think is , 1804 is total length of variables of cobol file.is it right or not?
Could anyone help me out this problem.Help would be greatly appreciated.Its very urgent..please.......
if you drop a mail also to email@example.com would be better.
Thanks in advance.