GDG Using TCPDRIV=DISK
search cancel

GDG Using TCPDRIV=DISK

book

Article ID: 136009

calendar_today

Updated On:

Products

Spool

Issue/Introduction

Can I use TCPDRIV=DISK to create GDG datasets? 

Environment

Release : 12.0

Component : CA Spool

Resolution

Here is a working sample: 

 

DEFNODE DISK1,DISK-01,TCPDRIV=DISK,ACQUIRE=WORK,RELEASE=NOWORK 

NODE DISKGDG,DISK1,GROUP=11,PURGE=NO, 

 TCPHOST='DSNAME=prefix.TESTE3.GDG,DISP=NEW,MEMBER=+1' 

 

 The GDG entry has to be previously defined. In the example above it is "prefix.TESTE3.GDG" and a sample definition would be: 

 

//DEFGDG EXEC PGM=IDCAMS 

//SYSPRINT DD SYSOUT=6 

//SYSIN DD * 

 DEF GDG (NAME(prefix.TESTE3.GDG) LIMIT(3) SCRATCH)