Pages

Saturday, December 10, 2011

Deleting the member from the PDS/PDSE library other than IDCAMS

Deleting the member from the PDS/PDSE library other than IDCAMS through SCRATCH JCL
//SCRATCH1 JOB (acct#),’SCRATCH PDS Members’,CLASS=U,MSGCLASS=H
//* Scratch PDS Members - Examples
//*
//SCRATCH EXEC PGM=IKJEFT01
//STEPLIB DD DSN=<SCRATCH Load Library>,DISP=SHR
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
/* Scratch a single member */
SCRATCH ‘DSN.NAME(MEMBER)’
/* Scratch several members and compress */
SCRATCH ‘DSN.NAME’ +
MEMBERS(MEM*) +
COMPRESS
/* Empty (reset) a load-library and compress it */
SCRATCH ‘DSN.NAME’ MEMBERS(*)

Compressing a PDS library using JCL.

You can compress the PDS file using IEBCOPY Utility
//COMPRESS JOB (acct#),’COMPRESS A PDS Library’,CLASS=D,MSGCLASS=J
//* COMPRESS A PDS Library
//*
//STEP010 EXEC PGM=IEBCOPY
//INDD DD DSN=dsn.name,
// DISP=SHR
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
COPY INDD=INDD,OUTDD=INDD
//SYSPRINT DD SYSOUT=*
//*
This will compress and remove unwanted storage.

Allocating a more space to PDS/PDSE file with the JCL with IDCAMS step

Allocating a more space to PDS file with the JCL with IDCAMS step.
//REALLOC JOB (acct#),’REALLOCATING A PDS Library’,CLASS=D,MSGCLASS=J
//* THIS JOB IS FOR REALLOCATING A PDS WITH MORE SPACE
//*
//STEP010 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
ALTER DSN.NAME -
NEWNAME(DSN.NAME1)
//*
//SYSUDUMP DD SYSOUT=*
//*
//STEP020 EXEC PGM=IEBCOPY
//INDD DD DSN=DSN.NAME1,DISP=SHR
//OUTDD DD DSN=DSN.NAME,DISP=(NEW,CATLG,CATLG),
//* PRI,SEC,DIRBLOCKS
// UNIT=SYSDA/TAPEC,SPACE=(CYL,(PRI,SEC,DIR)),
// AVGREC=M,
// DCB=(RECFM=??,LRECL=???,BLKSIZE=??,DSORG=??)
//SYSPRINT DD SYSOUT=*
//SUSUT3 DD UNIT=SYSDA,SPACE=(90,(100,100))
//SUSUT4 DD UNIT=SYSDA,SPACE=(90,(100,100))
//SUSUT5 DD UNIT=SYSDA,SPACE=(90,(100,100))
//SUSUT6 DD UNIT=SYSDA,SPACE=(90,(100,100))
//SUSUT7 DD UNIT=SYSDA,SPACE=(90,(100,100))
//SYSIN DD *
COPY INDD=((INDD,R)),OUTDD=OUTDD
//*
This is very nice JCL. Try it… you will see the difference between Manual creation of dataset and through JCL.
This will also work for Secure PDS file(PDSE) libs.

Review on Vedam telugu movie...

I know this is few years back movie.. I have just watched this.. so i just want to share this with you guys...


The movie Vedam goes arround Cable Raju (Allu Arjun), Saroja (Anushka), Vivek Chakravarty (Manchu Manoj) and few other characters. In the movie Allu arjun plays the character Cable Raju who is a cable operator who lives in Jubilee Hills slum. Anushka plays the character Saroja who is a prostitute in Amalapuram. Manchu Manoj plays the character Vivek Chakravarty who wants to become a super star.The other important characters in the movie are Ramulu and Rahim (Raheemuddin).Ramulu, an old man has a dream of educating his grandson and coming out of debts. Manoj Bajpai plays the character Raheemuddin. Rahim, a Muslim man who is distressed.His wife suffers a miscarriage. Police suspects Rahim to be a terrorist and makes his life miserable troubling him all the time.The man is upset with his past and wants to leave the country.
All the five characters starts their journey for success and to make their dream come true. If that happens so easily why its called a movie. The trouble starts when they start the journey to fullfil their dreams. Saroja faces problem when she wants to start her own company in hyderabad. She gets trapped by her previous owner. Ramulu faces problem because his money stolen in the city.
Rahim who dreams to fly abroad, he goes for a visa and police troubles him there as well. The other two major character Vivek and Raju one entangles in a street fight and the other into theft.
Now all of them in a quest for life begin their journey and are beset with problems at the same time. Rahim is questioned by the police while he goes for his Visa, Saroja is trapped by her previous employers, Vivek is entangled in a road fight, Raju gives into the temptation of theft and Ramulu’s money in the city is stolen.
Overall the movie is really good. The other characters played by Raghu Babu, Brahmanandam, Satyam rajesh and Posani leave their mark. Music by Keeravani is Good. Last but not least Krish direction is Very Good. The narration of the characters in Vedam is outstanding. Hats off to Krish.