File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
projects/com.ibm.cicsdev.link/src/com/ibm/cicsdev/link Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 2121import com .ibm .cics .server .Container ;
2222import com .ibm .cics .server .ContainerErrorException ;
2323import com .ibm .cics .server .InvalidRequestException ;
24- import com .ibm .cics .server .LengthErrorException ;
2524import com .ibm .cics .server .Program ;
2625import com .ibm .cics .server .Task ;
2726
@@ -124,8 +123,8 @@ public static void main(String[] args)
124123 if (charContainer != null ) {
125124 try {
126125 resultStr = charContainer .getString ();
127- } catch (LengthErrorException e ) {
128- task .abend ("LENG " );
126+ } catch (CicsConditionException e ) {
127+ task .abend ("LPGC " );
129128 }
130129 }
131130 else {
@@ -142,8 +141,8 @@ public static void main(String[] args)
142141 byte [] ba = null ;
143142 try {
144143 ba = bitContainer .get ();
145- } catch (LengthErrorException e ) {
146- task .abend ("LENG " );
144+ } catch (CicsConditionException e ) {
145+ task .abend ("LPGC " );
147146 }
148147 ByteBuffer bb = ByteBuffer .wrap (ba );
149148 cicsrc = bb .getInt ();
@@ -157,7 +156,7 @@ public static void main(String[] args)
157156 msg = MessageFormat .format ("Returned from link to {0} with no CICS RC" , prog .getName ());
158157 }
159158 }
160- catch (ContainerErrorException | ChannelErrorException | CCSIDErrorException | CodePageErrorException exc ) {
159+ catch (CicsConditionException exc ) {
161160
162161 // Log message and continue
163162 msg = MessageFormat .format ("ERROR from link to {0} with message({1}) " ,
You can’t perform that action at this time.
0 commit comments