IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to create a new member in a PDS


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
N.SUDHA
Warnings : 1

New User


Joined: 06 Feb 2006
Posts: 8

PostPosted: Mon Feb 06, 2006 6:56 pm
Reply with quote

how to
To create a new member in a PDS, and pass the data for the same from the JCL itself
To compare the contents of two PDS members
Back to top
View user's profile Send private message
Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 463

PostPosted: Mon Feb 06, 2006 7:00 pm
Reply with quote

HI,

Quote:
To compare the contents of two PDS members


U can use SUPERC to compare the 2 PDS members.

Hope this helps

Regards
Rupesh
Back to top
View user's profile Send private message
hariavinash

New User


Joined: 04 Jan 2006
Posts: 64

PostPosted: Mon Feb 06, 2006 7:09 pm
Reply with quote

Sudha,

do you mean create a member and pass the dataset name with the member to a jcl in BATCH mode??
Back to top
View user's profile Send private message
stly
Warnings : 1

New User


Joined: 25 Jul 2005
Posts: 93

PostPosted: Wed Aug 30, 2006 12:15 pm
Reply with quote

hI SUDHA HERE IS THE JCL FOR UR 1ST QUESTION




//STEP001 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD *
//SYSUT2 DD DSN=VVVVVVVVVVVVVVVVVVV(MEM),
// DISP=SHR
//SYSOUT DD SYSOUT=*
//SYSIN DD DUMMY
//SYSPRINT DD SYSOUT=*
//*
//STEP02 EXEC SORT
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SORTIN DD DSN=XXXXXXXXXXXX,DISP=SHR
//SORTOUT DD DSN=VVVVVVVVVVVVVVVVVVV(MEM),
// DISP=SHR
//SYSIN DD *
SORT FIELDS=COPY
OUTREC FIELDS=(20:20,8)
//SYSOUT DD SYSOUT=*
//

HERE IN THE STEP01 A MEMBER IS CREATED AND IN STEP02 DATA IS COPIED IN TO IT THROUGH SORT CARD


CORRECT ME IF I M NOT CORRECT
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts How to copy the -1 version of a membe... TSO/ISPF 4
No new posts Searching for a member but don't know... TSO/ISPF 6
No new posts Looking For a PDS Member Without Open... PL/I & Assembler 10
No new posts create rexx edit Macro that edits the... CLIST & REXX 3
Search our Forums:

Back to Top