Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
37Activity
0 of .
Results for:
No results containing your search query
P. 1
Session on JCL Utilities

Session on JCL Utilities

Ratings:

4.5

(2)
|Views: 1,410|Likes:

More info:

Published by: Mainframe for everyone on Jul 26, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

02/05/2013

pdf

text

original

 
KNOWLEDGE MANAGEMENT ON JCL UTILITIES
Pointer Mechanism
The SPACE function is used to position the pointer at a specific record.e.g.) At first control card places the pointer at the 25th record. The second controlcard copies the next 6 records. Give this code inside the SYSIN card
$$DD01 SPACE IN=25$$DD01 COPY OUT=6
FASTDEL
This utility deletes all cataloged files as coded in SYSIN statement. Acts similar to TSO DEL 'filename' option.
e.g.)//JS0010 EXEC PGM=FASTDEL//SYSOUT DD SYSOUT=*//SYSPRINT DD SYSOUT=*//SYSIN DD *ECSA40T.FILE.DOT.DELETE//*//*
Compressing a PDS via Program
Here is a sample code to zip a PDS if the allocated memory overflowed.e.g.)//ECSA40T JOB LA5516,'ECSA40T',REGION=0M,// CLASS=S,MSGCLASS=X,NOTIFY=&SYSUID//*//step01 EXEC PGM=IEBCOPY//SYSPRINT DD SYSOUT=A//SYSUT1 DD DSN=(name),DISP=(OLD,KEEP)//SYSINDD *COPY OUTDD=SYSUT1INDD=SYSUT1
 
Alternate way to compress a PDS, here is the screen print to Zip in simple way.Below screen prints shows the PDS after compressing,
 
Defining GDG base using TSO Option
Type the below command in the “Command line” It will ask for the Basename & limit (Number of generations).Below screen shots will give a clear picture,

Activity (37)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
lionkingsr liked this
lionkingsr liked this
ketaki.k14 liked this
nrao17 liked this
kalai01ece liked this
Rupesh Kumar liked this
Rupesh Kumar liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->