Page 1 of 1

Iebgener : create pds's member from a sequential ds

PostPosted: Wed Jan 20, 2016 6:32 pm
by xcspg3
Hi,
I've a problem when I try to create a member from a sequential ds
//SYSIN    DD  *
       GENERATE  MAXNAME=3,MAXGPS=2
         MEMBER  NAME=MEMBER1
  GROUP1 RECORD  IDENT=(8,'FIRSTMEM',1)
         MEMBER  NAME=MEMBER2
  GROUP2 RECORD  IDENT=(8,'SECNDMEM',1)
         MEMBER  NAME=MEMBER3
/*

The creation of members is ok but I found in the last record of each member the name of it.

input:
000010 1                   
000100 FIRSTMEM             
000200 1                   
000210 2                   
000300 SECNDMEM             
000400 1                   
000500 2                   
000600 3                   


output MEMBER1
000000 1       
000001 FIRSTMEM

output MEMBER2
000001 1       
000002 2       
000003 SECNDMEM

output MEMBER3
000004 1           
000005 2           
000006 3           


Is there a way to skip this record?

thanks
xcspg3

Re: Iebgener : create pds's member from a sequential ds

PostPosted: Wed Jan 20, 2016 7:18 pm
by NicC
By the looks of it the answer is NO unless you can do something with a user exit - which I did not look into.

Re: Iebgener : create pds's member from a sequential ds

PostPosted: Wed Jan 20, 2016 7:39 pm
by Akatsukami
From my reading of the DFSMSdfp Utilities manual (in PDF format), I don't think that a user exit can cause IEBGENER to skip a record, although it could make the entire record spaces or NULs.