Endevor

  • 1.  CA DADS+

    Posted Jun 01, 2017 10:41 AM

         Hi Team.

     

    When trying to use DADBBI program with FUNCTION=DADS to call the following CEMT transaction: "CEMT I FI(*) CLO DIS" I get in response only one record (the first file). Is it such feature of the interface? Is it possible to receive all files in response?

     

    Thanks in advance and regards,
    Grazyna.



  • 2.  Re: CA DADS+

    Broadcom Employee
    Posted Jun 07, 2017 05:33 PM

    Hi Grazyna,

    This is Bill from DADS Plus support.

     

    I apologize for the delay in the reply. One of my IDMS co workers contacted me and informed me that a DADS questions was outstanding in the IDMS community. Since DADS Plus is part of the Testing Tools community I did not see your post.

     

    Unfortunately, DADS is working as designed. It is not possible for DADS to produce an inquiry report of all file that are closed and disabled. CEMT I FI(*) CLO DIS  

    There are limitations on the amount of output that CEMT passes back when CEMT commands are executed(80 bytes). This is documented in the DADS PLUS users guide chapter 12 page 25 using this link below shows the restrictions of using commands. Only 80 bytes is passed back to the DADS batch job.. 

    From the DADS Plus R 4.0 Users guide which I copied below. 

    Only one line of output the first 80 bytes is passed back to the batch 
    program. A return code of 8 indicates an invalid command, program or 
    transaction. 

    Below is the link to the CA DADS Plus for CICS r 4.0 users guide where this is documented. 

    https://support.ca.com/cadocs/0/CA%20DADS%20Plus%20for%20CICS%20r4%200-ENU/Bookshelf_Files/PDF/DADS_User_Guide_ENU.pdf 


    Once you view the PDF file please do a find on COMMAND= chapter 12 page 25 

    COMMAND Control Statement 

    The COMMAND control statement allows batch jobs to issue LINK, CEMT, and 
    START commands through the Advantage CA-DADS Plus Batch Interface 
    facility. This command must follow a FUNCTION=DADS statement. 
    Use the COMMAND control statement to enable batch jobs to perform functions 
    such as linking to programs that aren‘t associated with transactions, changing 
    file service request options, and opening the VTAM ACB. 

    COMMAND=LINK/CEMT/START parameters 
    The keyword COMMAND is followed by one LINK, CEMT, or START 
    command. 

    Multiple commands are permitted within one job step; however: 
    – programs linked to by the LINK command may be linked concurrently 
    with other CEMT, START, LINK or DADS requests if the number of 
    REQUEST/COMMAND statements for a CICS APPLID exceeds 40. 
    – transactions started by the START command will execute concurrently 
    with other CEMT, START, LINK, or DADS requests regardless of how 
    many REQUEST/COMMAND statements are specified. 

    Only one line of output the first 80 bytes is passed back to the batch 
    program. A return code of 8 indicates an invalid command, program or 
    transaction. 

     

    If you have any questions please let us know.

     

    Regards Bill