View previous topic :: View next topic
Author
Message
loga_nathan_m New User Joined: 07 Jun 2007Posts: 40 Location: India
hi all,
is there a way to transfer the output of a SCANPDS into a sequention.
for example:
Code:
COMMAND ===>
Date: 2007/08/03
Enter/Verify Parameters Below: Time: 05:03:57.90
Vers: 6.18
Data Set Name ==> CMN.XXXX.BASE.PRC
Volume Serial ==> (If Not Cataloged)
Search For ==> EXPDT
Search For ==> LABELTP
Search For ==>
More Criteria ==> NO (Yes/No)
when i give the above search i get the following screen.
Code:
Column ....+....1....+....2....+....3....+....4....+....5....+....6....+..
--------------------------------------------------------------------
--- Pds: CMN.XXXX.BASE.PRC on PMH17D ---
--------------------------------------------------------------------
_ _RA130A1A
000021 //SYSUT2 DD DSN=&APPLIDA..RA13011A.BILLTEXT.TEMP,
// DISP=(NEW,CATLG,DELETE),
// UNIT=TAPE,
// VOL=(,,,30),
// LABEL=(1,SL,,EXPDT=99000),
// SPACE=(TRK,(1,1),RLSE),
// DCB=(RECFM=VB,BLKSIZE=0,LRECL=23472)
000055 //RA113BLL DD DSN=&APPLIDA..RA13011A.SORTED.BILLTEXT(+1),
// DISP=(NEW,CATLG,DELETE),
// UNIT=TAPE,
// VOL=(,,,30),
// LABEL=(1,SL,,EXPDT=99000),
// SPACE=(TRK,(1,1),RLSE),
// DCB=(RECFM=VB,BLKSIZE=0,LRECL=23472)
which shows the member which has the word and where exactly the word is found. all i need to get this information in a NEW PS file.
if any has any idea kindly let me know.
thanks,
M.Loganathan
Back to top
dbzTHEdinosauer Global Moderator Joined: 20 Oct 2006Posts: 6966 Location: porcelain throne
do a block CC CC of the data you wish to save and use the CREATE ISPF cmd which will open a dataset selection/determination screen.
that is CREATE without parms in the cmd line.
Back to top
0d311 Guest
Hi Loga,
Have you tried SuperC?
Back to top
murmohk1 Senior Member Joined: 29 Jun 2006Posts: 1436 Location: Bangalore,India
Od311,
Quote:
Have you tried SuperC?
Superc for searching?
Back to top
loga_nathan_m New User Joined: 07 Jun 2007Posts: 40 Location: India
hi Dick Brenholtz,
it worked fine.
thanks a lot.
hi 0d311,
superC gives only the exact line where the search word is present. the word i used for search is a DSN parameter and i want the data set that contain this word(hope i didn't confuse u) hence i prefered SCANPDS.
any way thanks.
thanks to all,
M.Loganathan
Back to top
Aaru Senior Member Joined: 03 Jul 2007Posts: 1287 Location: Chennai, India
Loga,
I did a SCANP and i tried selecting a block of data (using CC and CC) but was not able to do as it dint allow me to select a block of data.
The results of the SCANP is in the browse mode and hence the problem ! How did that work for u guys?
Back to top
0d311 Guest
murmohk1 wrote:
Od311,
Quote:
Have you tried SuperC?
Superc for searching?
I'm sure that SuperC can be used both for compare and search. If you run 3.13 and 3.14 in batch, you'll see that they call the sameprogram, ISRSUPC.
Back to top
loga_nathan_m New User Joined: 07 Jun 2007Posts: 40 Location: India
Hi Aaru,
after the SCANP in the result screen just type 'C' or 'CC' it should show you a PS file with the SCANP result.
Code:
AAT3 SYS07215.T071849.RA000.LM6535.R0629804 Columns 00001 00072
Command ===> Scroll ===> CSR
****** ***************************** Top of Data ******************************
000001 ------------------------------------------------------------------
000002 --- Pds: PXY0O.PROCLIB on PMP115 -
000003 ------------------------------------------------------------------
000004 _ _RA130A1A
000005 000021 //SYSUT2 DD DSN=&APPLIDA..RA13011A.BILLTEXT.TEMP,
000006 // DISP=(NEW,CATLG,DELETE),
000007 // UNIT=TAPE,
000008 // VOL=(,,,30),
000009 // LABEL=(1,SL,,EXPDT=99000),
000010 // SPACE=(TRK,(1,1),RLSE),
000011 // DCB=(RECFM=VB,BLKSIZE=0,LRECL=23472)
000012 000055 //RA113BLL DD DSN=&APPLIDA..RA13011A.SORTED.BILLTEXT(+1),
then as usual u can either us CC to copy or can copy the entire file to new file using 'CREATE .ZF .ZL'
hope this helps
thanks,
Back to top
Aaru Senior Member Joined: 03 Jul 2007Posts: 1287 Location: Chennai, India
Cool ! Its working now ! Thanks a lot !
Back to top
Please enable JavaScript!