Iebgener : create pds's member from a sequential ds



Ask queries about other IBM Tools like Tivoli, COBTEST, Fault Analyzer, z/OS File Manager, Workload Simulator, APA, SCLM, Merge & Migration Tools etc...

Iebgener : create pds's member from a sequential ds

Postby xcspg3 » Wed Jan 20, 2016 6:32 pm

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
xcspg3
 
Posts: 32
Joined: Tue Sep 25, 2007 6:34 pm
Has thanked: 0 time
Been thanked: 0 time

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

Postby NicC » Wed Jan 20, 2016 7:18 pm

By the looks of it the answer is NO unless you can do something with a user exit - which I did not look into.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

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

Postby Akatsukami » Wed Jan 20, 2016 7:39 pm

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.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1058
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times


Return to Other IBM Tools

 


  • Related topics
    Replies
    Views
    Last post