Copy queries from one VISION:Inform foreground library to another

Document ID:  TEC1064916
Last Modified Date:  07/24/2015
{{active ? 'Hide' : 'Show'}} Technical Document Details


  • CA VISION:Inform for z/OS


  • VISION:Inform:V:INFM

To copy queries from one foreground library to another, use the Batch Simulator.

Create an 80 byte permanent sequential dataset that will be used as the ANSPRINT DD.  This DD echoes the online session conversation.


Submit the Batch Simulator job ANSOSB pointing to this permanent dataset for ANSPRINT with the following for the ANSIN DD:


LIST ITEM queryname USERID profileWhereQueryIs


ANSPRINT will have a listing of the query source. 


Using your ISPF editor:


·        Copy ANSPRINT into the ANSOSB JCL to use as ANSIN

·        Delete the header/trailer lines

·        Add 2 commands at the top of ANSIN starting in column 1


     EDIT queryname USERID profileWhereYouWantToPutIt   

·       Add 2 commands, SAVE and QUIT, at the bottom of ANSIN.  Two lines, one command each, starting in column 1. 



Submit the Batch Simulator JCL again pointing to this new ANSIN and to the foreground library where you want to copy the query.

Please help us improve!

Will this information enable you to resolve your issue?

Please tell us what we can do better.

{{feedbackText.length ? feedbackText.length : '0'}}/255


Not what you were looking for?

Search Again >

Product Information

Support by Product >


Join a Community >