IBM Security Z Security

 View Only
Expand all | Collapse all

CKR0218 There is no action in the message guide

  • 1.  CKR0218 There is no action in the message guide

    Posted Thu June 08, 2023 01:34 PM

    Hi,

    When I submit CARLA jobs. I'm receiving CKR0218 error code. Example: CKR0218 12 Field RACF_GLOBAL_ACCESS of length 7 extends  44 chars beyond target line length 132 at SYSIN line 76 

    I applied to the IBM security zSecure Messages Guide but I couldn't get a user response. 

    I tried to upload output of the job but unfortunately failed to upload.

     CKR0218 12 Field CONN_ASID of length 4 extends  8 chars beyond target line length 132 at SYSIN line 71
     CKR0218 12 Field CONN_STATE of length 6 extends  15 chars beyond target line length 132 at SYSIN line 72
     CKR0397 00 Field RACF_AUDITS of length 7 truncated to 1 to fit in line length 132 at SYSIN line 74
     CKR0218 12 Field RACF_UACC of length 7 extends  44 chars beyond target line length 132 at SYSIN line 74
     CKR0397 00 Field RACF_AUDITF of length 7 truncated to 1 to fit in line length 132 at SYSIN line 75
     CKR0218 12 Field RACF_IDSTAR_ACCESS of length 7 extends  44 chars beyond target line length 132 at SYSIN line 75
     CKR0397 00 Field RACF_WARN_ONLY of length 7 truncated to 1 to fit in line length 132 at SYSIN line 76
     CKR0218 12 Field RACF_GLOBAL_ACCESS of length 7 extends  44 chars beyond target line length 132 at SYSIN line 76
     CKR0397 00 Field RACF_PROFTYPE of length 8 truncated to 1 to fit in line length 132 at SYSIN line 77
     CKR0397 00 Field RESOURCE of length 24 truncated to 22 to fit in line length 132 at SYSIN line 78
     CKR0397 00 Field RACF_PROFILE of length 44 truncated to 22 to fit in line length 132 at SYSIN line 79
     CKR0397 00 Field RACF_ACL of length 45 truncated to 31 to fit in line length 132 at SYSIN line 80

    Regards,

    Baybars Fatih Suleymanoglu.



    ------------------------------
    Baybars Fatih Suleymanoglu
    ------------------------------


  • 2.  RE: CKR0218 There is no action in the message guide

    Posted Thu June 08, 2023 04:25 PM

    Hi Baybars,

    The user response depends on what you are trying to achieve.

    What the message is telling you is that you requested report output that cannot be written to the output file, because the width of your report is larger than the line length of the output file.

    As to your example

    CKR0218 12 Field RACF_GLOBAL_ACCESS of length 7 extends  44 chars beyond target line length 132 at SYSIN line 76 

    that tells you that in your input CARLa in the SYSIN file, on line 76, the field RACF_GLOBAL_ACCESS is requested, but you are already 37 characters to the right of the right border of your output file based on the requested line length of 132 (so you are already at position 169), so it would be "printed" completely outside what fits into your file. (BTW, I take it that the length is the result of the LRECL of your output file. It is also possible that you specified a LL= parameter on the report, but that seems unlikely in this context.)

    If you are sure that your report as requested has the proper layout and you really want it to be this wide, then you should make sure that you have a wider line length, so that the output can actually be written.

    Alternatively, you could opt to put in a newline (/) at some point in the line that you are requesting, so that the output is spread over multiple lines instead, to make it fit.

    Technically you can also get rid of CKR0218 message by adding a TRUNC modifier on the field, in which case it will just not actually be output.

    I hope this begins to help.

    Regards,



    ------------------------------
    Jeroen Tiggelman
    IBM - Software Development and Level 3 Support Manager IBM Security zSecure Suite
    Delft
    ------------------------------



  • 3.  RE: CKR0218 There is no action in the message guide

    Posted Tue June 13, 2023 09:11 AM

    Hi Jeroen, 

    Thank you for your reply. We specified a LL= parameter on the report, the problem is solved. We are looking for a basic solution, because we submit CARLA jobs from zSecure (CO). Is there a way to solve this problem from zSecure CO option? Because we will have to modify when submit a job from zSecure CO whenever we received CKR0218 error. When we have submitted CARLA reports from zSecure If we receive CKR0218 message, We will code LL= parameter.

    Regards.

    Baybars Fatih Suleymanoglu.



    ------------------------------
    Baybars Fatih Suleymanoglu
    ------------------------------



  • 4.  RE: CKR0218 There is no action in the message guide

    Posted Tue June 13, 2023 09:36 AM

    Hi Barbara,

    I am not entirely sure from your description what the cause of the problem is that you are experiencing.

    What method are you using to "submit CARLa reports from zSecure"?

    Chances are you can code a LINELENGTH (or LL for short) parameter on an appropriate OPTION of FILEOPTION statement (or add one) to achieve what you want, but I am not sure where the effective CARLa you are generating is coming from exactly.

    In the ISPF UI, you might try adding OPTION LL=number inSETUP PREAMBLE. If you submit a job from CO, I believe that ends up in your CKRSPROF DD.

    Regards,



    ------------------------------
    Jeroen Tiggelman
    IBM - Software Development and Level 3 Support Manager IBM Security zSecure Suite
    Delft
    ------------------------------



  • 5.  RE: CKR0218 There is no action in the message guide

    Posted Tue June 13, 2023 10:41 AM

    Hi Baybars, 

    in addition to Jeroen's latest suggestions, you can also configure the your desired line-length for the REPORT work data set that the zSecure UI uses with option Setup Output (SE.7). That option allows you , amongst many other specifications, to specify space allocation parameters for the REPORT data set. You can define the record format, record length, page length, and the line length of the REPORT work data set. 
    But understand that after changing these specifications in SE.7 for the REPORT work data set, these settings are applied to all other CARLa programs that you run and/or submit from the zSecure CO that you mention (until you update these settings again).
    Thus, using a LINELENGTH, OPTION, or FILEOPTION statement only for your programs that require a longer line length than 132, would be a more dynamic and efficient solution. 



    ------------------------------
    Tom Zeehandelaar
    z/OS Security Enablement Specialist - zSecure developer
    IBM
    ------------------------------



  • 6.  RE: CKR0218 There is no action in the message guide

    Posted Tue June 13, 2023 10:53 AM

    Hi Tom,

    Thank you for your reply.  The report work dataset as follows in SE.7. But it didn't work.

    Regards.

    Baybars Fatih Suleymanoglu



    ------------------------------
    Baybars Fatih Suleymanoglu
    ------------------------------



  • 7.  RE: CKR0218 There is no action in the message guide

    Posted Tue June 13, 2023 10:58 AM

    Hi Baybars, 

    did you both change the record length and line length on the follow up panel to a large enough length?



    ------------------------------
    Tom Zeehandelaar
    z/OS Security Enablement Specialist - zSecure developer
    IBM
    ------------------------------



  • 8.  RE: CKR0218 There is no action in the message guide

    Posted Tue June 13, 2023 10:42 AM

    Hi, 

    We added OPTION LL=255 in SETUP PREAMBLE. But it didn't work. We used again LL=255 parameter in the CARLA job.  It was successful. We are submitting CARLA jobs from zSecure as using CO.1 DD:CKRCARLA select edit (LIBRARY  IBM.ZSECV25.SCKRCARL ) and we are receiving CKR0218 message if we don't code LL=255 in the job.

    Regards.

    Baybars Fatih Suleymanoglu



    ------------------------------
    Baybars Fatih Suleymanoglu
    ------------------------------



  • 9.  RE: CKR0218 There is no action in the message guide

    Posted Tue June 13, 2023 10:57 AM
    Edited by Jeroen Tiggelman Wed June 14, 2023 03:57 AM

    Hi Baybars,

    I am confused about the screenshot. When I use edit in CO.1, I definitely do not go to SDSF edit.

    As to SETUP PREAMBLE, I take it that you did tag the option "Execute preamble commands before every query".

    I was expecting you to use CO.5 (submit), but when I try this from CO.1, I think I see the same with the CKRSPROF DD. What does the JCL generated in your case look like?

    Regards,



    ------------------------------
    Jeroen Tiggelman
    IBM - Software Development and Level 3 Support Manager IBM Security zSecure Suite
    Delft
    ------------------------------



  • 10.  RE: CKR0218 There is no action in the message guide

    Posted Tue June 13, 2023 11:28 AM

    Hi,

    Of course  we are using CO.5.  The  CKRSPROF  DD is  below:

    We run the job again. It's ended RC=00 successfully.  Thank you for your help.

    Regards.



    ------------------------------
    Baybars Fatih Suleymanoglu
    ------------------------------



  • 11.  RE: CKR0218 There is no action in the message guide

    Posted Tue June 13, 2023 11:33 AM
    Edited by Jeroen Tiggelman Tue June 13, 2023 11:34 AM

    You are very welcome. Glad to hear it works now. :-)

    I saw in my test that the SETUP PREAMBLE statements showed up as the data in the CKRSPROF definition.

    Regards,



    ------------------------------
    Jeroen Tiggelman
    IBM - Software Development and Level 3 Support Manager IBM Security zSecure Suite
    Delft
    ------------------------------

    Edit: corrected DEBUG to SETUP





  • 12.  RE: CKR0218 There is no action in the message guide

    IBM Champion
    Posted Wed June 14, 2023 03:54 AM

    I see you have a DISPLAY command in your CARLa, with / (newline) operators.  That means the layout of the report is designed for ISPF: scrollable and hardly a concern for LONG fields in the detail display.

    I also see DEFINE ... SUMCOUNT commands, and that means there is probably a SUMMARY command following the DISPLAY.  In ISPF that is all good and as intended, because you use the S line command to switch between the SUMMARY fields and the DISPLAY fields.

    In a printable layout (batch jobs, output to file), a DISPLAY command is silently interpreted as SORTLIST.  All good, except the combination of SUMMARY and SORTLIST does not work the same way as in ISPF.  The fields specified in SUMMARY reserve space in the output lines, and only AFTER these fields the SORTLIST fields will be started in each line.  Your output might look like

    summary value 1    summary value 2       display value 1          display value 2
                                             display value 3          display value 4
    summary value 3    summary value 4       display value 5          display value 6
                                             display value 7          display value 8
    

    Again, that is all good, unless the SUMMARY fields are LONG by design, in which case there is no space left on the line for the DISPLAY fields.  This is why you see crafted SUMMARY commands in the zSecure CARLa code for, for example, compliance reports.  These crafted statements contain / operators, and often end with a / operator, causing the display fields to start at position 2 of the next line, like so

    summary value 1    summary value 2       
     display value 1          display value 2
     display value 3          display value 4
    summary value 3    summary value 4       
     display value 5          display value 6
     display value 7          display value 8
    

    Also, you will see text literals in the SUMMARY command, creating column headers for those DISPLAY/SORTLIST fields.  Check member CKALSTDT for inspiration.



    ------------------------------
    Rob van Hoboken
    ------------------------------



  • 13.  RE: CKR0218 There is no action in the message guide

    Posted Wed June 14, 2023 04:13 AM
    Edited by Jeroen Tiggelman Wed June 14, 2023 04:14 AM

    Hi Rob,

    You are right, it looks like the example report was either CKADQCF or CKADRKCF--two TYPE=CF_STRUCT reports supplied in SCKRCARL for use under ISPF.

    By contrast, CKALQCF is a TYPE=CF_STRUCT report designed for Print format with SORTLIST output.

    From a naming convention perspective, the "D" in the fourth position tends to identify a Display, while the "L" is for a (sort)List.
    (See https://www.ibm.com/docs/en/szs/2.5.0?topic=library-naming-convention )
    Furthermore, the "Q" in the fifth position is for a sample Query for a particular newlist type, while "RK" stands for option RE.K.

    Regards,



    ------------------------------
    Jeroen Tiggelman
    IBM - Software Development and Level 3 Support Manager IBM Security zSecure Suite
    Delft
    ------------------------------