Focal Point
[SOLVED] Problem with DYNAM ALLOC in jcl

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/822102222

August 27, 2009, 02:54 PM
tinamshorty
[SOLVED] Problem with DYNAM ALLOC in jcl
Does anyone know how to continue a DYNAM ALLOC line in mainframe jcl that is too long to fit on one line? I thought it was a hyphen at the end of the first line but I keep getting an error on the next line. Does the hyphen go in a specific position?

This message has been edited. Last edited by: tinamshorty,


FOCUS for Mainframe 7.2
Windows and IBM Z9 Mainframe processor
FOCUS, Excel


August 27, 2009, 03:07 PM
Tom Flynn
Space hyphen:

  
DYNAM ALLOC FI TESTGDG DA CSSWXB.GDGTEST.DATA(+1) NEW CATALOG -
SPACE 5 5 TRACKS RECFM FB LRECL 80 REUSE


Nobody uses the Search engine anymore, sigh! Confused

EDIT: BTW, DYNAM ALLOC is not in the JCL; it is a DYNAMic ALLOCation within WebFOCUS.

For JCL:

 
//TESTGDG DD DSN=CSSWXB.GDGTEST.DATA(+1),DISP=(NEW,CATALOG,DELETE),
//           SPACE=(TRK,(5,5)),BLKSIZE=(RECFM=FB,LRECL=80,BLKSIZE=4096)


OR, something like that!

This message has been edited. Last edited by: Tom Flynn,


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
August 27, 2009, 03:25 PM
tinamshorty
sorry, i meant in the fex not the jcl.
And i did search the forum first but did not find what i needed.
I do have a space and then a hyphen to extend the line so something else must be happening.
Thanks.


FOCUS for Mainframe 7.2
Windows and IBM Z9 Mainframe processor
FOCUS, Excel


August 27, 2009, 03:28 PM
Tom Flynn
tina,

Wasn't trying to be mean, BUT, there are 5 pages of examples here!

In the Search bucket, I entered "DYNAM ALLOC" WITH the double quotes...

No offence intended!

Tom


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
August 27, 2009, 04:03 PM
Francis Mariani
All the examples in my papyrus archive seem to suggest leaving the first character of every line after the first one blank:

DYNAM ALLOC  CATALOG DDNAME JCL DSNAME &DS_JCL NEW -
      UNIT PROD SPACE 1,1 TRACKS RECFM FB LRECL 80 BLKSIZE 0

DYNAM ALLOC  DDNAME SELECT DSNAME YSMIC99.TEMP.SELECT -                         
 NEW CATALOG UNIT PROD SPACE 1,1 TRACKS DIR 5 -                                 
 RECFM FB LRECL 80 BLKSIZE 0 DSORG PO                                           




Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
August 27, 2009, 04:11 PM
Francis Mariani
Tip from Ginny: MVS/TSO Guide to Operations


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
August 27, 2009, 04:24 PM
tinamshorty
We got it working! Thanks!
I think our problem was with the actual allocation of the file and not the continuation of the line.


FOCUS for Mainframe 7.2
Windows and IBM Z9 Mainframe processor
FOCUS, Excel


August 27, 2009, 04:46 PM
Francis Mariani
I guess we should have asked what the error was! That would have suggested whether it was a syntax error or a file error.


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server