Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Transfer the output of a SCANPDS into a sequention

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
loga_nathan_m

New User


Joined: 07 Jun 2007
Posts: 40
Location: India

PostPosted: Fri Aug 03, 2007 2:37 pm    Post subject: Transfer the output of a SCANPDS into a sequention
Reply with quote

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
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri Aug 03, 2007 3:09 pm    Post subject:
Reply with quote

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
View user's profile Send private message
0d311

Guest





PostPosted: Fri Aug 03, 2007 3:22 pm    Post subject:
Reply with quote

Hi Loga,

Have you tried SuperC?
Back to top
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Fri Aug 03, 2007 3:30 pm    Post subject:
Reply with quote

Od311,

Quote:
Have you tried SuperC?

Superc for searching?
Back to top
View user's profile Send private message
loga_nathan_m

New User


Joined: 07 Jun 2007
Posts: 40
Location: India

PostPosted: Fri Aug 03, 2007 3:35 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Fri Aug 03, 2007 4:08 pm    Post subject: Re: Transfer the output of a SCANPDS into a sequention
Reply with quote

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
View user's profile Send private message
0d311

Guest





PostPosted: Fri Aug 03, 2007 4:27 pm    Post subject:
Reply with quote

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 2007
Posts: 40
Location: India

PostPosted: Fri Aug 03, 2007 4:50 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Fri Aug 03, 2007 5:14 pm    Post subject: Re: Transfer the output of a SCANPDS into a sequention
Reply with quote

Cool ! Its working now ! Thanks a lot !
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts How to get current date -1 and curren... murali.andaluri DFSORT/ICETOOL 3 Wed Mar 08, 2017 2:09 pm
No new posts Incorrect output when trying to add n... monica1 PL/I & Assembler 10 Fri Jan 13, 2017 5:02 pm
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us