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

Fileaid utility issue


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
shankarm

Active User


Joined: 17 May 2010
Posts: 175
Location: India

PostPosted: Tue Sep 25, 2012 10:44 pm
Reply with quote

Hello,

I am trying to understand what the below code is doing. i dont have manual for this utility.

If the below is (5,11,eq,c'start duns') then we can say that we are checking an equal to condition but we dont have 'eq' in the below what does it signify?

Code:

//P010     EXEC PGM=FILEAID                 
//SYSPRINT DD SYSOUT=(,)                     
//SYSLIST  DD SYSOUT=(,)                     
//SYSTOTAL DD SYSOUT=(,)                     
//DD01O    DD SYSOUT=(,)                     
//DD01     DD DISP=SHR,DSN=RDB.APIC.WB&FILE1
//SYSIN    DD *                             
   $$DD01 COPY IF=(5,11,C'START DUNS')       
/*                             
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Sep 25, 2012 10:46 pm
Reply with quote

what happens when You run it ?
Back to top
View user's profile Send private message
shankarm

Active User


Joined: 17 May 2010
Posts: 175
Location: India

PostPosted: Tue Sep 25, 2012 10:54 pm
Reply with quote

nothing happends it just goes thuorgh successfully with rc 0. is it a check for empty file?

one more thing, i cannot see the content of the input file. i dont have access.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Tue Sep 25, 2012 10:57 pm
Reply with quote

If you don't have the manual for File-AID, perhaps you should be using something else.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Sep 25, 2012 11:25 pm
Reply with quote

Hello,

If you don't have access to the input file, how are you able to run the job?

If your organization ls licensed to use the product, you can download the documentation from Compuware Support (it may even be generally available, but i have not checked).

If someone is going to work on this, they need access to the data and the manual(s).
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Tue Sep 25, 2012 11:35 pm
Reply with quote

other than not being able to see the contents of the file
and
not having any manuals at your site

your site is also filled with really stupid code.

why have
$$DD01 COPY IF=(5,11,C'START DUNS'

position 5 (for 11) for a 10 char literal?

maybe change the 11 to 10
or
change the literal from
Code:
'START DUNS'

to
Code:
'START DUNS '


and are you sure it is supposed to be all caps?

man, if i worked at your site,
i would insist that they pay me in cash, daily.

by the way, what happened with this thread?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Sep 25, 2012 11:48 pm
Reply with quote

Hello,

I realize that this has gone on for a bit and feel somewhat remiss in not suggesting you edit a member in one of your "work" datasets and put in some values that contain the START DUNS in different positions and run your batch job abd see what happens. . .

Shouldn't need documentation or access to some restricted file. . .
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Sep 25, 2012 11:50 pm
Reply with quote

FIle Aid defaults to EQ for operator if not specified. The given condition checks 11 bytes starting in byte 5 for the characters 'START DUNS' (which actually can only start in byte 5 or 6) and copies the record to DD01O if the match is found. If a match is not found, then File Aid ignores the record.

If your site is licensed for Fail Aid, you have access to the manuals -- whether hard copy at your site, soft copy from an internal web site, or by accessing the vendor support site and downloading them yourself.
Back to top
View user's profile Send private message
shankarm

Active User


Joined: 17 May 2010
Posts: 175
Location: India

PostPosted: Wed Sep 26, 2012 3:47 pm
Reply with quote

My client is very very big.. (am not supposed to disclose my clients name) and am sure they have license for every single thing they use. The problem is that the software manuals and installations are supported by another and not us.

The RACF is supported by another .. so it will be months before i get access and manuals.

we have identified an issue with the file-aid utility itself... teams are working on this... i will keep the forum updated...

Thanks all..
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Wed Sep 26, 2012 4:43 pm
Reply with quote

shankarm wrote:
My client is very very big.. (am not supposed to disclose my clients name) and am sure they have license for every single thing they use. The problem is that the software manuals and installations are supported by another and not us.

The same is true of my client. The solution is escalation: go to your coordinator, your team lead, your delivery manager, your service manager, and so on up the food chain until you're told "Shut up or you're fired". And if you still can't do your job, you walk. Being blindfolded and wearing boxing gloves is not a tolerable condition of doing the job.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Search two or more word with FILEAID Compuware & Other Tools 15
No new posts REASON 00D70014 in load utility DB2 6
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
No new posts ISRSUPC search utility - using high l... TSO/ISPF 2
Search our Forums:

Back to Top