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
 

 

FILEAID utility in Batch

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

New User


Joined: 22 Jun 2012
Posts: 57
Location: Chennai

PostPosted: Thu Aug 16, 2012 2:36 pm    Post subject: FILEAID utility in Batch
Reply with quote

Hi,

I need to get the output as start position and length of the copybook member from a PDS using fileaid utility in batch.

Is this possible in batch using fileaid utility?

If so, please help me to get the required output.
Back to top
View user's profile Send private message

senjay

Active User


Joined: 10 May 2007
Posts: 147
Location: India

PostPosted: Thu Aug 16, 2012 2:39 pm    Post subject: Reply to: FILEAID utility in Batch
Reply with quote

Hi,
Yes, It is possible. Look for RLPRINT in Fileaid batch manual.
Back to top
View user's profile Send private message
Thamilselvi

New User


Joined: 22 Jun 2012
Posts: 57
Location: Chennai

PostPosted: Thu Aug 16, 2012 2:40 pm    Post subject:
Reply with quote

Thanks a lot icon_biggrin.gif
Back to top
View user's profile Send private message
Thamilselvi

New User


Joined: 22 Jun 2012
Posts: 57
Location: Chennai

PostPosted: Thu Aug 16, 2012 3:31 pm    Post subject:
Reply with quote

Hi,

In my workarea, there were no fileaid. Here we using filemanager.

is there any way to do the above requirement?
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Thu Aug 16, 2012 3:57 pm    Post subject:
Reply with quote

Thamilselvi,

First you said "Thanks a lot" and later you said
Quote:
In my workarea, there were no fileaid. Here we using filemanager.
... icon_confused.gif

Well, the short answer is, it's doable using File-Aid in batch BUT you've to have the product installed at your shop. As, IBM file Manager and File-Aid are two different products from different vendors.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Thu Aug 16, 2012 4:09 pm    Post subject:
Reply with quote

if you put your copybook in the Linkage Section of a cobol module,
the mapping from a compile
will give you the starting position
and length of each field,
based on zero.

the starting positions will be in hexadecimal.

as far as filemanager is concerned:
IBM Education Assistant: IBM FileManager
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1713
Location: UK

PostPosted: Thu Aug 16, 2012 5:08 pm    Post subject:
Reply with quote

If you do not have File-Aid why did you ask for a File-Aid solution?
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Thu Aug 16, 2012 7:15 pm    Post subject:
Reply with quote

Nic Clouston wrote:
If you do not have File-Aid why did you ask for a File-Aid solution?
Yes, that's the confusion with me too, since the start.

However, after reading what Dick has said and in a try to read between the lines on problem-description by OP, I'd say select "Batch execution" when using IBM File Manager and one'll get something like this:

Code:
//FILEMGR  EXEC PGM=FMNMAIN                                           
//*STEPLIB  DD DSN=SYS1.SFMNMOD1,DISP=SHR                             
//* If using WMQ queues via batch, uncomment and update MQHLQ to suit
//* your sites WMQ high level qualifier                               
//*        DD DSN=MQHLQ.SCSQLOAD,DISP=SHR                             
//*        DD DSN=MQHLQ.SCSQANLE,DISP=SHR                             
//*        DD DSN=MQHLQ.SCSQAUTH,DISP=SHR                             
//*        DD DSN=IGY.SIGYCOMP,DISP=SHR                               
//FMNCOB   DD DUMMY    Uncomment to force use of FM COBOL Compiler   
//*FMNCLERR DD SYSOUT=* Uncomment to force output of Compiler listing
//SYSPRINT DD SYSOUT=*                                               
//FMNTSPRT DD SYSOUT=*                                               
//SYSTERM  DD SYSOUT=*                                               
//SYSIN    DD *                                                       
$$FILEM SET HEADERPG=YES,PAGESIZE=60                                 
$$FILEM PBK DSNIN=your.pds.for.copybook,                               
$$FILEM MEMBER=*                                                     
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Thu Aug 16, 2012 7:30 pm    Post subject: Reply to: FILEAID utility in Batch
Reply with quote

Hello,

FileAid seemed to be a good way to do this - until it was discovered that the product is not available . . . icon_cool.gif

Gotta hate when that happens icon_wink.gif

d
Back to top
View user's profile Send private message
Ed Goodman

Active Member


Joined: 08 Jun 2011
Posts: 556
Location: USA

PostPosted: Fri Aug 17, 2012 7:29 pm    Post subject:
Reply with quote

PBK is the answer for File Manager. You'll get two different formats depending on if you ask for "View" or "Print".
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 How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
This topic is locked: you cannot edit posts or make replies. MIPS reduction for Batch job Virendra Shambharkar All Other Mainframe Topics 8 Mon Nov 07, 2016 4:02 pm
No new posts DB2 Streaming Batch Processing Problem Manshadi DB2 4 Sat Sep 24, 2016 12:14 pm
No new posts Best IMS DB Unload Utility jjabez10 IMS DB/DC 12 Thu Sep 22, 2016 11:15 pm
No new posts How to show message using batch jobs madprasy TSO/ISPF 7 Fri Sep 09, 2016 6:55 pm


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