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: 2435
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: 2435
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 Need DB2 query to fetch previous row ! Chandan1993 DB2 10 Sat Jun 03, 2017 10:43 am
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts Fileaid Update Replace with null string descann Compuware & Other Tools 4 Mon May 15, 2017 3:00 pm
No new posts JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm


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