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 Query

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Compuware & Other Tools
View previous topic :: :: View next topic  
Author Message
Raj24186

New User


Joined: 04 May 2010
Posts: 9
Location: Chennai

PostPosted: Wed May 12, 2010 2:53 pm    Post subject: Fileaid Query
Reply with quote

Hi,

Can someone post me the purpose of sysprint, syslist DD names as shown below, in a Fileaid batch job?

//STEP0100 EXEC PGM=FILEAID
//STEPLIB DD DISP=SHR,DSN=xxx.load
//SYSPRINT DD SYSOUT=*
//SYSLIST DD SYSOUT=*
//DD01 DD DSN=input.dataset,DISP=SHR
//DD01O DD SYSOUT=*
//SYSIN DD *
**control statements**
/*

I am currently having a file which can only be viewed with a copybook. I need to extract contents at a particular position from this file.

Is it possible for me to first browse the file with the copybook and then extract the characters at the required position?

Please let me know if this can be done using Fileaid Batch.
Back to top
View user's profile Send private message

PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Wed May 12, 2010 3:25 pm    Post subject:
Reply with quote

Code:

SYSPRINT:

• SYSPRINT heading
• Opening messages
• Comments
• Actions-taken map
• Function statistics
• Accumulations
• Dataset processing messages
• Closing message/Record count
• Alternate date
• Data check
• Block count error log
• Output PDS error log
• Input PDS error log
• DCB abend log
• Open error logs
• VSAM warning
• Invalid packed field error log
• Control card error log.

SYSLIST:

• SYSLIST heading
• Disk dataset access message
• DUMP request
• PRINT request
• Output record print
• LIST request
• FPRINT request
• VPRINT request
• Changed/truncated record tag
• VSAM retrieval output
• Tape dataset blocks
• Sequential dataset records.
Back to top
View user's profile Send private message
Raj24186

New User


Joined: 04 May 2010
Posts: 9
Location: Chennai

PostPosted: Thu May 13, 2010 10:51 am    Post subject:
Reply with quote

Thanks Peter! Could you also answer my query?
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Thu May 13, 2010 11:08 am    Post subject:
Reply with quote

I dont know. My previous response was quoted from the manual.
I suggest that you consult the manuals too.
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 May 13, 2010 5:24 pm    Post subject:
Reply with quote

SYSPRINT lists all submitted control cards, and all error and completion messages issued during execution. If SYSPRINT is not provided, File-AID dynamically allocates it.

SYSLIST is an optional statement to use when selecting data for hardcopy output. If SYSLIST is not provided, File-AID dynamically allocates it. SYSLIST may optionally be defined as a sequential file.
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 May 13, 2010 5:48 pm    Post subject: Re: Fileaid Query
Reply with quote

Raj24186 wrote:
Is it possible for me to first browse the file with the copybook and then extract the characters at the required position?
you can do that, try to generate a jcl in batch using PRINT option of the file-aid. Some time, i've even posted a working model of such a JCL, you might to search the forum.
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 -> Compuware & Other Tools All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Join in SQL Query vickey_dw DB2 2 Tue Jan 17, 2017 12:15 am
This topic is locked: you cannot edit posts or make replies. MQ setup query mohitsaini Java & MQSeries 4 Sun Jan 08, 2017 1:53 am
No new posts DB2 query Using Recursion, Converting... smilewithashu2 DB2 1 Tue Jan 03, 2017 12:50 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
This topic is locked: you cannot edit posts or make replies. Db2 SQL query to convert rows into co... subratarec DB2 5 Thu Nov 17, 2016 4:51 pm


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