OLQBATCH

Post your problems & doubts related with IDMS

Moderator: Moderator Group

Post Reply
tejorocks
Member
Posts: 2
Joined: Tue Sep 13, 2011 11:33 pm

OLQBATCH

Post by tejorocks » Tue Sep 13, 2011 11:49 pm

Hi,
I am trying to use OLQBATCH utility and generate output by putting a query in a dataset and giving it as an input to OLQBATCH. The output is gathered in another dataset which is mentioned in syslst.
PGM=OLQBATCH
SYSLST DD DSN=outputdataset
SYSIPT DD DSN=inputdataset (contains select query).
The problem with this is the output is not exceeding 132 character length, if query results in an output greater than 132 character length then output gets truncated.
Can anyone help me out in bypassing this 132 character restriction.

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Wed Sep 14, 2011 1:32 am

What does the documentation say about max length?

Is the output dataset pre-allocated? If yes, what happens if you allocate some other dataset with a length of say 200?
Last edited by DikDude on Wed Sep 14, 2011 11:42 pm, edited 1 time in total.
Have a good one

tejorocks
Member
Posts: 2
Joined: Tue Sep 13, 2011 11:33 pm

Post by tejorocks » Wed Sep 14, 2011 11:34 pm

Hi,
when i put the output dataset of length say 200, the output dataset automatically gets truncated to 132 when the jcl is run, i dont know how.
I tried finding the way out but could not succeed.

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Wed Sep 14, 2011 11:44 pm

Suggest you open a contact issue with OLQBATCH (CA) support. . .
Have a good one

academyindia4

Topic deleted by Admin

Post by academyindia4 » Fri Jan 15, 2016 8:58 pm

<< Content deleted By Admin >>

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others