| 1 | //TXT2PDF1 JOB (T,TEST),'TXT2PDF',MSGCLASS=X,CLASS=A,NOTIFY=&SYSUID |
| 2 | //* |
| 3 | //****************************************************************** |
| 4 | //* Copyright Amazon.com, Inc. or its affiliates. |
| 5 | //* All Rights Reserved. |
| 6 | //* |
| 7 | //* Licensed under the Apache License, Version 2.0 (the "License"). |
| 8 | //* You may not use this file except in compliance with the License. |
| 9 | //* You may obtain a copy of the License at |
| 10 | //* |
| 11 | //* http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | //* |
| 13 | //* Unless required by applicable law or agreed to in writing, |
| 14 | //* software distributed under the License is distributed on an |
| 15 | //* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, |
| 16 | //* either express or implied. See the License for the specific |
| 17 | //* language governing permissions and limitations under the License |
| 18 | //* ******************************************************************* |
| 19 | //* |
| 20 | //* ********************************************************`*********** |
| 21 | //* CONVERT TEXT FILE TO A PDF FILE |
| 22 | //* ******************************************************************* |
| 23 | //* |
| 24 | //TXT2PDF EXEC PGM=IKJEFT1B,DYNAMNBR=50, |
| 25 | // PARM=(''), |
| 26 | // COND=(0,NE) |
| 27 | //* |
| 28 | //STEPLIB DD DISP=SHR, |
| 29 | // DSN=AWS.M2.LBD.TXT2PDF.LOAD |
| 30 | //* |
| 31 | //SYSEXEC DD DISP=SHR,DSN=AWS.M2.LBD.TXT2PDF.EXEC |
| 32 | //* |
| 33 | //INDD DD DISP=SHR,DSN=AWS.M2.CARDDEMO.STATEMNT.PS |
| 34 | //* |
| 35 | //SYSPRINT DD SYSOUT=* |
| 36 | //SYSTSPRT DD SYSOUT=* |
| 37 | //SYSTSIN DD * |
| 38 | %TXT2PDF BROWSE Y IN DD:INDD + |
| 39 | OUT 'AWS.M2.CARDDEMO.STATEMNT.PS.PDF' |
| 40 | /* |
| 41 | //* |